Completed
Push — dev ( 23aa35...38a6c8 )
by Yan
01:57
created
src/Lincable/Http/FileRequest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.