Completed
Push — master ( d4e3f3...a970d6 )
by Mads
05:04
created
src/Requests/ApiRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
         /**
69 69
          * Remove input fields like _method, _token, etc.
70 70
          */
71
-        $input = array_filter($this->input(), function ($key) {
71
+        $input = array_filter($this->input(), function($key) {
72 72
             return !starts_with($key, '_');
73 73
         }, ARRAY_FILTER_USE_KEY);
74 74
 
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
     protected function transformValidationOutput($validator): array
144 144
     {
145 145
         return collect($this->getTransformer()->transformOutputKeys($validator->getMessageBag()->toArray()))
146
-            ->reject(function ($error) {
146
+            ->reject(function($error) {
147 147
                 return false === \is_array($error);
148 148
             })
149 149
             ->toArray();
Please login to merge, or discard this patch.