Passed
Push — master ( 75f246...316d91 )
by Sérgio
03:30
created
src/Pipeline.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     {
45 45
         $rest = array_slice(func_get_args(), 1);
46 46
 
47
-        return array_reduce($this->callbacks, function ($payload, $callback) use ($rest) {
47
+        return array_reduce($this->callbacks, function($payload, $callback) use ($rest) {
48 48
             return call_user_func_array($callback, array_merge([$payload], $rest));
49 49
         }, $payload);
50 50
     }
@@ -58,13 +58,13 @@  discard block
 block discarded – undo
58 58
     public function __call(callable $fn, array $args)
59 59
     {
60 60
         $ks = (new self())
61
-            ->pipe(new Filter(function ($x) {
61
+            ->pipe(new Filter(function($x) {
62 62
                 return self::_ === $x;
63 63
             }))
64 64
             ->pipe('array_keys')
65 65
             ->process($args);
66 66
 
67
-        return $this->pipe(function ($payload) use ($fn, $args, $ks) {
67
+        return $this->pipe(function($payload) use ($fn, $args, $ks) {
68 68
             if ([] === $ks) {
69 69
                 return call_user_func_array($fn, array_merge($args, [$payload]));
70 70
             }
Please login to merge, or discard this patch.