Completed
Push — master ( 01762c...256c3c )
by Karsten
02:12
created
src/Operation/Terminal/MedianOperation.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,9 +37,9 @@
 block discarded – undo
37 37
         $left   = (int) floor($middle);
38 38
         $right  = (int) ceil($middle);
39 39
 
40
-        $leftVal  = $data[$left];
41
-        $rightVal = $data[$right];
40
+        $leftVal  = $data[ $left ];
41
+        $rightVal = $data[ $right ];
42 42
 
43
-        return is_scalar($leftVal) && is_scalar($rightVal) ? ($data[$left] + $data[$right]) / 2 : 0;
43
+        return is_scalar($leftVal) && is_scalar($rightVal) ? ($data[ $left ] + $data[ $right ]) / 2 : 0;
44 44
     }
45 45
 }
Please login to merge, or discard this patch.
src/Operation/FullSet/SortByOperation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         $func = $this->function;
28 28
         $data = iterator_to_array($set);
29 29
 
30
-        usort($data, function ($i1, $i2) use ($func) {
30
+        usort($data, function($i1, $i2) use ($func) {
31 31
 
32 32
             $val1 = $func($i1);
33 33
             $val2 = $func($i2);
Please login to merge, or discard this patch.