Issues (1124)

src/DuplicateEntryException.php (1 issue)

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