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