Completed
Push — dev ( 72bf0e...23aa35 )
by Yan
02:34
created
src/Lincable/Http/FileRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.