@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | */ |
126 | 126 | protected function parseValidationRules(UploadedFile $file) |
127 | 127 | { |
128 | - return [$this->getParameter() => $this->rules($file)]; |
|
128 | + return [ $this->getParameter() => $this->rules($file) ]; |
|
129 | 129 | } |
130 | 130 | |
131 | 131 | /** |
@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | $eventMethod = 'beforeSend'; |
153 | 153 | |
154 | 154 | if (method_exists($this, $eventMethod)) { |
155 | - $app->call([$this, $method], $file); |
|
155 | + $app->call([ $this, $method ], $file); |
|
156 | 156 | } |
157 | 157 | } |
158 | 158 |