8000 Add phpdoc about exception · symfony/symfony@66f3340 · GitHub
[go: up one dir, main page]

Skip to content

Commit 66f3340

Browse files
Add phpdoc about exception
1 parent 2cb470e commit 66f3340

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Symfony/Component/Workflow/WorkflowInterface.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace Symfony\Component\Workflow;
1313

1414
use Symfony\Component\Workflow\Exception\LogicException;
15+
use Symfony\Component\Workflow\Exception\UndefinedTransitionException;
1516
use Symfony\Component\Workflow\MarkingStore\MarkingStoreInterface;
1617
use Symfony\Component\Workflow\Metadata\MetadataStoreInterface;
1718

@@ -38,6 +39,8 @@ public function can(object $subject, string $transitionName): bool;
3839

3940
/**
4041
* Builds a TransitionBlockerList to know why a transition is blocked.
42+
*
43+
* @throws UndefinedTransitionException If the transition is not defined
4144
*/
4245
public function buildTransitionBlockerList(object $subject, string $transitionName): TransitionBlockerList;
4346

0 commit comments

Comments
 (0)
0