| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 28 | public function normalize($questions, $format = null, array $context = []): array |
||
| 29 | { |
||
| 30 | return array_map( |
||
| 31 | function (Question $question) use ($format, $context) { |
||
| 32 | return $this->questionNormalizer->normalize($question, $format, $context); |
||
| 33 | }, |
||
| 34 | $questions->toArray() |
||
| 35 | ); |
||
| 46 |