| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 56 | public function deserialize(string $data, string $type, string $format): object |
||
| 57 | { |
||
| 58 | $deserializedData = $this->symfonySerializer->deserialize($data, $type, $format); |
||
| 59 | |||
| 60 | if (is_array($deserializedData)) { |
||
| 61 | return new ArrayObject($deserializedData); |
||
| 62 | } |
||
| 63 | |||
| 64 | return $deserializedData; |
||
| 65 | } |
||
| 67 |