| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 48 | public function deserialize(string $data, string $type, string $format): object |
||
| 49 | { |
||
| 50 | if (substr($type, -2) !== '[]') { |
||
| 51 | return $this->symfonySerializer->deserialize($data, $type, $format); |
||
| 52 | } |
||
| 53 | |||
| 54 | return new ArrayObject($this->symfonySerializer->deserialize($data, $type, $format)); |
||
| 55 | } |
||
| 57 |