1 | <?php declare(strict_types=1); |
||
0 ignored issues
–
show
Coding Style
introduced
by
![]() |
|||
2 | |||
3 | namespace Star\Component\State; |
||
4 | |||
5 | final class DuplicateEntryException extends \LogicException |
||
6 | { |
||
7 | 1 | public static function duplicateTransition(string $transition): self |
|
0 ignored issues
–
show
|
|||
8 | { |
||
9 | 1 | return new self( |
|
10 | 1 | \sprintf("The transition '%s' is already registered.", $transition) |
|
11 | ); |
||
12 | } |
||
13 | } |
||
14 |