Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
13 | final class InvalidSecretWordException extends Exception implements SkrillException |
||
14 | { |
||
15 | /** |
||
16 | * @return InvalidSecretWordException |
||
17 | */ |
||
18 | public static function emptySecretWord(): self |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @return InvalidSecretWordException |
||
25 | */ |
||
26 | public static function invalidMinLength(): self |
||
27 | { |
||
28 | return new self(sprintf('The length of Skrill Secret Word is too short. It should have %d characters or more.', SecretWord::MIN_LENGTH)); |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @return InvalidSecretWordException |
||
33 | */ |
||
34 | public static function missingLetters(): self |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @return InvalidSecretWordException |
||
41 | */ |
||
42 | public static function missingNonAlphabetic(): self |
||
47 |