Total Complexity | 4 |
Total Lines | 33 |
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.', |
||
29 | SecretWord::MIN_LENGTH)); |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * @return InvalidSecretWordException |
||
34 | */ |
||
35 | public static function missingLetters(): self |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * @return InvalidSecretWordException |
||
42 | */ |
||
43 | public static function missingNonAlphabetic(): self |
||
48 |