Passed
Push — master ( a5e378...69cdd1 )
by Marcio
02:39
created
src/Ballybran/Core/Http/Pipeline.php 2 patches
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
  * @copyright (c) 2015.  KNUT7  Software Technologies AO Inc. (https://marciozebedeu.com/)
13 13
  * @license   MIT License
14 14
  * @author    Beyond Code GmbH
15
-
16 15
  * @version   1.0.7
17 16
  *
18 17
  *
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
      */
129 129
     protected function prepareDestination(Closure $destination)
130 130
     {
131
-        return function () use ($destination) {
131
+        return function() use ($destination) {
132 132
             return call_user_func_array($destination, func_get_args());
133 133
         };
134 134
     }
@@ -140,8 +140,8 @@  discard block
 block discarded – undo
140 140
      */
141 141
     protected function carry()
142 142
     {
143
-        return function ($stack, $pipe) {
144
-            return function () use ($stack, $pipe) {
143
+        return function($stack, $pipe) {
144
+            return function() use ($stack, $pipe) {
145 145
                 $passable = func_get_args();
146 146
                 $passable[] = $stack;
147 147
                 $passable = array_merge($passable, $this->parameters);
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
                     // otherwise we'll resolve the pipes out of the container and call it with
152 152
                     // the appropriate method and arguments, returning the results back out.
153 153
                     return call_user_func_array($pipe, $passable);
154
-                } elseif (! is_object($pipe)) {
154
+                } elseif (!is_object($pipe)) {
155 155
                     list($name, $parameters) = $this->parsePipeString($pipe);
156 156
                     // If the pipe is a string we will parse the string and resolve the class out
157 157
                     // of the dependency injection container. We can then build a callable and
Please login to merge, or discard this patch.