Passed
Push — master ( 5c5b78...dff8d5 )
by Mads
04:21
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
 
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
     {
122 122
         $input = $this->getTransformer()->transformOutput($this->except($this->dontFlash));
123 123
         $errors = collect($this->getTransformer()->transformOutputKeys($validator->getMessageBag()->toArray()))
124
-            ->reject(function ($error) {
124
+            ->reject(function($error) {
125 125
                 return false === \is_array($error);
126 126
             })
127 127
             ->toArray();
Please login to merge, or discard this patch.