| Total Complexity | 7 |
| Total Lines | 56 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | class NullCrypt implements Crypt |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * @inheritDoc |
||
| 28 | */ |
||
| 29 | public function isValidEncryptedMessage(string $encrypted): bool |
||
| 30 | { |
||
| 31 | return true; |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @inheritDoc |
||
| 36 | */ |
||
| 37 | public function encrypt(string $message, string|null $key = null): string |
||
| 38 | { |
||
| 39 | return ''; |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @inheritDoc |
||
| 44 | */ |
||
| 45 | public function encryptArray(array $array, string|null $key = null): string |
||
| 46 | { |
||
| 47 | return ''; |
||
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @inheritDoc |
||
| 52 | */ |
||
| 53 | public function encryptObject(object $object, string|null $key = null): string |
||
| 54 | { |
||
| 55 | return ''; |
||
| 56 | } |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @inheritDoc |
||
| 60 | */ |
||
| 61 | public function decrypt(string $encrypted, string|null $key = null): string |
||
| 62 | { |
||
| 63 | return ''; |
||
| 64 | } |
||
| 65 | |||
| 66 | /** |
||
| 67 | * @inheritDoc |
||
| 68 | */ |
||
| 69 | public function decryptArray(string $encrypted, string|null $key = null): array |
||
| 72 | } |
||
| 73 | |||
| 74 | /** |
||
| 75 | * @inheritDoc |
||
| 76 | */ |
||
| 77 | public function decryptObject(string $encrypted, string|null $key = null): object |
||
| 80 | } |
||
| 81 | } |
||
| 82 |