@@ -81,10 +81,10 @@ |
||
81 | 81 | |
82 | 82 | return new Categories( |
83 | 83 | ...array_map( |
84 | - function (CategoryEntity $categoryEntity) { |
|
85 | - return $categoryEntity->toCategory(); |
|
86 | - }, |
|
87 | - $categoryEntities |
|
84 | + function (CategoryEntity $categoryEntity) { |
|
85 | + return $categoryEntity->toCategory(); |
|
86 | + }, |
|
87 | + $categoryEntities |
|
88 | 88 | ) |
89 | 89 | ); |
90 | 90 | } |
@@ -140,7 +140,7 @@ |
||
140 | 140 | { |
141 | 141 | $answers = new Answers( |
142 | 142 | ...array_map( |
143 | - function(AnswerEntity $answerEntity) { |
|
143 | + function (AnswerEntity $answerEntity) { |
|
144 | 144 | return $answerEntity->toAnswer(); |
145 | 145 | }, |
146 | 146 | $this->getAnswerEntities()->toArray() |