| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | class CryptorException extends BaseException |
||
| 25 | { |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return CryptorException |
||
| 29 | */ |
||
| 30 | public static function publicKeyNotProvided(): CryptorException |
||
| 31 | { |
||
| 32 | return new static(ExceptionMessages::PUBLIC_KEY_MISSING, E_WARNING); |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return CryptorException |
||
| 37 | */ |
||
| 38 | public static function privateKeyNotProvided(): CryptorException |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return CryptorException |
||
| 45 | */ |
||
| 46 | public static function invalidCipher(): CryptorException |
||
| 49 | } |
||
| 50 | } |