Completed
Push — master ( 302780...59a153 )
by
unknown
01:53
created
src/CallableFactory/LinkedCallableFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     public function createCallable(array $pipes, callable $outlet = null)
18 18
     {
19 19
         if ($outlet !== null) {
20
-            $pipes[] = $outlet;
20
+            $pipes[ ] = $outlet;
21 21
         }
22 22
 
23 23
         return function($payload) use($pipes) {
Please login to merge, or discard this patch.
src/CallableFactory/StackCallableFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,13 +45,13 @@
 block discarded – undo
45 45
         if ($outlet !== null) {
46 46
             $callable = $outlet;
47 47
         } else {
48
-            $callable = function ($payload) {
48
+            $callable = function($payload) {
49 49
                 return $payload;
50 50
             };
51 51
         };
52 52
 
53 53
         while ($pipe = array_pop($pipes)) {
54
-            $callable = function (...$payload) use ($pipe, $callable) {
54
+            $callable = function(...$payload) use ($pipe, $callable) {
55 55
                 return $pipe($callable, ...$payload);
56 56
             };
57 57
         }
Please login to merge, or discard this patch.
src/Pipeline.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      *
24 24
      * @var callable[]
25 25
      */
26
-    private $pipes = [];
26
+    private $pipes = [ ];
27 27
 
28 28
     /**
29 29
      * The destination of the last pipe
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      */
87 87
     public function pipe($last)
88 88
     {
89
-        $this->pipes[] = $last;
89
+        $this->pipes[ ] = $last;
90 90
 
91 91
         return $this;
92 92
     }
Please login to merge, or discard this patch.