We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41d6d8a commit 1b5e4cfCopy full SHA for 1b5e4cf
1 file changed
src/Exceptions/InvalidUniqueId.php
@@ -8,25 +8,16 @@
8
9
class InvalidUniqueId extends UnexpectedValueException
10
{
11
- /**
12
- * @return InvalidUniqueId
13
- */
14
public static function wrongClassName(string $uniqueId): self
15
16
return new self("UniqueId '$uniqueId' has a wrong Namespace or Class name");
17
}
18
19
20
21
22
public static function caseNotPresent(string $case): self
23
24
return new self("There is not '$case' case on the enum");
25
26
27
28
29
30
public static function uniqueIdFormatIsInvalid(string $uniqueId): self
31
32
return new self("UniqueId '$uniqueId' has an invalid format");
0 commit comments