@@ -92,7 +92,7 @@ |
||
92 | 92 | { |
93 | 93 | $offset = $searchFilterRequest->getOffset(); |
94 | 94 | $numberOfItems = $searchFilterRequest->getNumberOfItems(); |
95 | - return new LimitIterator(new RewindableGenerator(function () { |
|
95 | + return new LimitIterator(new RewindableGenerator(function() { |
|
96 | 96 | return $this->iterate(); |
97 | 97 | }), $offset, $numberOfItems); |
98 | 98 | } |
@@ -22,7 +22,7 @@ |
||
22 | 22 | $count = 0; |
23 | 23 | $offset = $searchFilterRequest->getOffset(); |
24 | 24 | $max = $offset + $searchFilterRequest->getNumberOfItems(); |
25 | - return array_values(array_filter($input, function ($item) use (&$count, $searchFilterRequest, $max, $offset, $accessor) { |
|
25 | + return array_values(array_filter($input, function($item) use (&$count, $searchFilterRequest, $max, $offset, $accessor) { |
|
26 | 26 | if ($count >= $max) { |
27 | 27 | return false; |
28 | 28 | } |
@@ -127,7 +127,7 @@ |
||
127 | 127 | return []; |
128 | 128 | } |
129 | 129 | return array_map( |
130 | - function ($id) use (&$resourceClass, &$context) { |
|
130 | + function($id) use (&$resourceClass, &$context) { |
|
131 | 131 | return $this->retrieve($resourceClass, $id, $context); |
132 | 132 | }, |
133 | 133 | SearchFilterHelper::applySearchFilter($cacheItem->get(), $searchFilterRequest, $this->propertyAccessor) |