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($categories, $format = null, array $context = []): array |
||
29 | { |
||
30 | return array_map( |
||
31 | function (Category $category) use ($format, $context) { |
||
32 | return $this->categoryNormalizer->normalize($category, $format, $context); |
||
33 | }, |
||
34 | $categories->toArray() |
||
35 | ); |
||
46 |