@@ -22,6 +22,6 @@ |
||
22 | 22 | |
23 | 23 | public function load(ObjectManager $manager): void |
24 | 24 | { |
25 | - $this->loader->load([__DIR__ . '/../../fixtures/data.yaml']); |
|
25 | + $this->loader->load([__DIR__.'/../../fixtures/data.yaml']); |
|
26 | 26 | } |
27 | 27 | } |
@@ -39,7 +39,7 @@ |
||
39 | 39 | 'title' => $object->getTitle(), |
40 | 40 | 'description' => $object->getDescription(), |
41 | 41 | 'body' => $object->getBody(), |
42 | - 'tagList' => \array_map(fn (Tag $tag) => $this->normalizer->normalize($tag), $object->getTags()->toArray()), |
|
42 | + 'tagList' => \array_map(fn(Tag $tag) => $this->normalizer->normalize($tag), $object->getTags()->toArray()), |
|
43 | 43 | 'createdAt' => $this->normalizer->normalize($object->getCreatedAt()), |
44 | 44 | 'updatedAt' => $this->normalizer->normalize($object->getCreatedAt()), |
45 | 45 | 'favorited' => false, |