@@ -33,14 +33,14 @@ |
||
| 33 | 33 | /** @var Order $sortDirection */ |
| 34 | 34 | foreach ($sortOrder as $propertyName => $sortDirection) { |
| 35 | 35 | if ($sortDirection->isAscending()) { |
| 36 | - self::stableUasort($results, function ($a, $b) use ($propertyName) { |
|
| 36 | + self::stableUasort($results, function($a, $b) use ($propertyName) { |
|
| 37 | 37 | $value1 = (string) self::getValue($a, $propertyName); |
| 38 | 38 | $value2 = (string) self::getValue($b, $propertyName); |
| 39 | 39 | |
| 40 | 40 | return ((int) (strcmp($value1, $value2) >= 0)); |
| 41 | 41 | }); |
| 42 | 42 | } else { |
| 43 | - self::stableUasort($results, function ($a, $b) use ($propertyName) { |
|
| 43 | + self::stableUasort($results, function($a, $b) use ($propertyName) { |
|
| 44 | 44 | $value1 = (string) self::getValue($a, $propertyName); |
| 45 | 45 | $value2 = (string) self::getValue($b, $propertyName); |
| 46 | 46 | |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | */ |
| 42 | 42 | protected function calculateIndexKey() |
| 43 | 43 | { |
| 44 | - $callable = function ($value) { |
|
| 44 | + $callable = function($value) { |
|
| 45 | 45 | return null !== $value; |
| 46 | 46 | }; |
| 47 | 47 | |