Completed
Push — master ( dd12de...33be91 )
by
unknown
03:06
created
src/Infrastructure/Model/Repository/InMemory/InMemorySorter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,14 +33,14 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Domain/Model/Repository/Collections/ImmutableTypedCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.