@@ -57,14 +57,14 @@ |
||
57 | 57 | break; |
58 | 58 | case EnumOutputMode::MODE_ARRAY: |
59 | 59 | $collection = new ArrayCollection(); |
60 | - array_walk($data, function ($item) use ($collection) { |
|
60 | + array_walk($data, function($item) use ($collection) { |
|
61 | 61 | $collection->push($item); |
62 | 62 | }); |
63 | 63 | break; |
64 | 64 | case EnumOutputMode::MODE_ENTITY: |
65 | 65 | default: |
66 | 66 | $collection = new EntityCollection(); |
67 | - array_walk($data, function ($item) use ($collection) { |
|
67 | + array_walk($data, function($item) use ($collection) { |
|
68 | 68 | if (!empty($item)) { |
69 | 69 | $collection->push(ResponseDtoBuilder::make($this->entity, $item)); |
70 | 70 | } |