@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | */ |
149 | 149 | protected function parseValidationRules(UploadedFile $file) |
150 | 150 | { |
151 | - return [$this->getParameter() => $this->rules($file)]; |
|
151 | + return [ $this->getParameter() => $this->rules($file) ]; |
|
152 | 152 | } |
153 | 153 | |
154 | 154 | /** |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | $eventMethod = 'beforeSend'; |
178 | 178 | |
179 | 179 | if (method_exists($this, $eventMethod)) { |
180 | - $app->call([$this, $eventMethod], $file); |
|
180 | + $app->call([ $this, $eventMethod ], $file); |
|
181 | 181 | } |
182 | 182 | } |
183 | 183 |