Issues (1124)

src/DuplicateEntryException.php (5 issues)

1
<?php declare(strict_types=1);
0 ignored issues
show
This file is missing a doc comment.
Loading history...
The PHP open tag does not have a corresponding PHP close tag
Loading history...
Filename "DuplicateEntryException.php" doesn't match the expected filename "duplicateentryexception.php"
Loading history...
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
Expected 2 blank lines before function; 0 found
Loading history...
Missing function doc comment
Loading history...
8
    {
9 1
        return new self(
10 1
            \sprintf("The transition '%s' is already registered.", $transition)
11
        );
12
    }
13
}
14