| Total Complexity | 2 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | final class PhpSerializer implements SerializerInterface |
||
| 11 | { |
||
| 12 | public function serialize(mixed $value): string |
||
| 13 | { |
||
| 14 | return serialize($value); |
||
| 15 | } |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param string $data |
||
| 19 | * @return mixed |
||
| 20 | * |
||
| 21 | * @psalm-suppress MixedArgumentTypeCoercion |
||
| 22 | */ |
||
| 23 | public function unserialize(string $data): mixed |
||
| 26 | } |
||
| 27 | } |
||
| 28 |