@@ -68,7 +68,7 @@ discard block |
||
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 |
||
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(); |