| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 8 | 
| Code Lines | 4 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); | ||
| 27 | public function normalize($categories, $format = null, array $context = []): array | ||
| 28 |     { | ||
| 29 | /** @var Categories $categories */ | ||
| 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 |