| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 33 | protected function responseObjects(KernelBrowser $client, string $class): array |
||
| 34 | { |
||
| 35 | $content = $client->getResponse()->getContent(); |
||
| 36 | $array = json_decode($content, true); |
||
| 37 | $result = []; |
||
| 38 | foreach ($array as $item) { |
||
| 39 | array_push($result, $this->convert($item, $class)); |
||
| 40 | } |
||
| 41 | return $result; |
||
| 42 | |||
| 49 | } |