Test Setup Failed
Pull Request — master (#348)
by Pol
02:04
created
src/Math/Distance/Distance.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 
35 35
         return array_sum(
36 36
             array_map(
37
-                function ($a) use ($norm) {
37
+                function($a) use ($norm) {
38 38
                     return $a ** $norm;
39 39
                 },
40 40
                 $this->deltas($a, $b)
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
         }
53 53
 
54 54
         return array_map(
55
-            function ($a, $b) {
55
+            function($a, $b) {
56 56
                 return abs($a - $b);
57 57
             },
58 58
             $a,
Please login to merge, or discard this patch.