@@ -28,8 +28,6 @@ |
||
| 28 | 28 | * |
| 29 | 29 | * *NOTE* When a view uses a layout, the output of the view is ignored, as |
| 30 | 30 | * as the view is expected to use capture() to send data to the layout. |
| 31 | - |
|
| 32 | - |
|
| 33 | 31 | * @property UserData propriedade gerada e usada para pegar dados do model |
| 34 | 32 | */ |
| 35 | 33 | |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | */ |
| 128 | 128 | protected function prepareDestination(Closure $destination) : Closure |
| 129 | 129 | { |
| 130 | - return function () use ($destination) { |
|
| 130 | + return function() use ($destination) { |
|
| 131 | 131 | return call_user_func_array($destination, func_get_args()); |
| 132 | 132 | }; |
| 133 | 133 | } |
@@ -139,8 +139,8 @@ discard block |
||
| 139 | 139 | */ |
| 140 | 140 | protected function carry() : Closure |
| 141 | 141 | { |
| 142 | - return function ($stack, $pipe) { |
|
| 143 | - return function () use ($stack, $pipe) { |
|
| 142 | + return function($stack, $pipe) { |
|
| 143 | + return function() use ($stack, $pipe) { |
|
| 144 | 144 | $passable = func_get_args(); |
| 145 | 145 | $passable[] = $stack; |
| 146 | 146 | $passable = array_merge($passable, $this->parameters); |
@@ -150,7 +150,7 @@ discard block |
||
| 150 | 150 | // otherwise we'll resolve the pipes out of the container and call it with |
| 151 | 151 | // the appropriate method and arguments, returning the results back out. |
| 152 | 152 | return call_user_func_array($pipe, $passable); |
| 153 | - } elseif (! is_object($pipe)) { |
|
| 153 | + } elseif (!is_object($pipe)) { |
|
| 154 | 154 | list($name, $parameters) = $this->parsePipeString($pipe); |
| 155 | 155 | // If the pipe is a string we will parse the string and resolve the class out |
| 156 | 156 | // of the dependency injection container. We can then build a callable and |
@@ -177,7 +177,7 @@ discard block |
||
| 177 | 177 | * @param string $pipe |
| 178 | 178 | * @return array |
| 179 | 179 | */ |
| 180 | - protected function parsePipeString( string $pipe) : array |
|
| 180 | + protected function parsePipeString(string $pipe) : array |
|
| 181 | 181 | { |
| 182 | 182 | list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []); |
| 183 | 183 | |