@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | */ |
| 144 | 144 | protected function parseValidationRules() |
| 145 | 145 | { |
| 146 | - return [$this->getParameter() => $this->rules()]; |
|
| 146 | + return [ $this->getParameter() => $this->rules() ]; |
|
| 147 | 147 | } |
| 148 | 148 | |
| 149 | 149 | /** |
@@ -169,12 +169,12 @@ discard block |
||
| 169 | 169 | */ |
| 170 | 170 | protected function executeFileEvents(Container $app, File $file) |
| 171 | 171 | { |
| 172 | - $callable = [$this, 'beforeSend']; |
|
| 172 | + $callable = [ $this, 'beforeSend' ]; |
|
| 173 | 173 | |
| 174 | - if (method_exists($callable[0], $callable[1])) { |
|
| 174 | + if (method_exists($callable[ 0 ], $callable[ 1 ])) { |
|
| 175 | 175 | |
| 176 | 176 | // Handle the result from event call. |
| 177 | - if ($result = $app->call($callable, [$file])) { |
|
| 177 | + if ($result = $app->call($callable, [ $file ])) { |
|
| 178 | 178 | return $result; |
| 179 | 179 | } |
| 180 | 180 | } |