@@ -37,7 +37,7 @@  | 
                                                    ||
| 37 | 37 | public function __destruct()  | 
                                                        
| 38 | 38 |      { | 
                                                        
| 39 | 39 | $data = $this->validationData;  | 
                                                        
| 40 | -        $modifier = $this->modifier ?: function($d){ | 
                                                        |
| 40 | +        $modifier = $this->modifier ?: function($d) { | 
                                                        |
| 41 | 41 | return $d;  | 
                                                        
| 42 | 42 | };  | 
                                                        
| 43 | 43 | $this->chain->predicate = app(ResponderFactory::class)->validatorCallback($modifier, ...$data);  | 
                                                        
@@ -30,14 +30,14 @@ discard block  | 
                                                    ||
| 30 | 30 | |
| 31 | 31 | public function abort($abort)  | 
                                                        
| 32 | 32 |      { | 
                                                        
| 33 | -        return function () use ($abort) { | 
                                                        |
| 33 | +        return function() use ($abort) { | 
                                                        |
| 34 | 34 | abort(...$abort[0]);  | 
                                                        
| 35 | 35 | };  | 
                                                        
| 36 | 36 | }  | 
                                                        
| 37 | 37 | |
| 38 | 38 | public function nothing()  | 
                                                        
| 39 | 39 |      { | 
                                                        
| 40 | -        return function () { | 
                                                        |
| 40 | +        return function() { | 
                                                        |
| 41 | 41 | };  | 
                                                        
| 42 | 42 | }  | 
                                                        
| 43 | 43 | |
@@ -48,7 +48,7 @@ discard block  | 
                                                    ||
| 48 | 48 | */  | 
                                                        
| 49 | 49 | public function exception($e): \Closure  | 
                                                        
| 50 | 50 |      { | 
                                                        
| 51 | -        return function () use ($e) { | 
                                                        |
| 51 | +        return function() use ($e) { | 
                                                        |
| 52 | 52 | $exClass = $e[0]['class'];  | 
                                                        
| 53 | 53 | |
| 54 | 54 | throw new $exClass($e[0]['message']);  | 
                                                        
@@ -62,7 +62,7 @@ discard block  | 
                                                    ||
| 62 | 62 | */  | 
                                                        
| 63 | 63 | public function response($resp): \Closure  | 
                                                        
| 64 | 64 |      { | 
                                                        
| 65 | -        return function () use ($resp) { | 
                                                        |
| 65 | +        return function() use ($resp) { | 
                                                        |
| 66 | 66 | $respObj = response();  | 
                                                        
| 67 | 67 |              foreach ($resp as $call) { | 
                                                        
| 68 | 68 | list($method, $args) = $call;  | 
                                                        
@@ -74,7 +74,7 @@ discard block  | 
                                                    ||
| 74 | 74 | |
| 75 | 75 | public function redirect($resp): \Closure  | 
                                                        
| 76 | 76 |      { | 
                                                        
| 77 | -        return function () use ($resp) { | 
                                                        |
| 77 | +        return function() use ($resp) { | 
                                                        |
| 78 | 78 | $respObj = redirect();  | 
                                                        
| 79 | 79 |              foreach ($resp as $call) { | 
                                                        
| 80 | 80 | list($method, $args) = $call;  | 
                                                        
@@ -86,7 +86,7 @@ discard block  | 
                                                    ||
| 86 | 86 | |
| 87 | 87 | public function respondFrom($method)  | 
                                                        
| 88 | 88 |      { | 
                                                        
| 89 | -        return function () use ($method) { | 
                                                        |
| 89 | +        return function() use ($method) { | 
                                                        |
| 90 | 90 | respondWith(app()->call(...$method[0]));  | 
                                                        
| 91 | 91 | };  | 
                                                        
| 92 | 92 | }  | 
                                                        
@@ -103,7 +103,7 @@ discard block  | 
                                                    ||
| 103 | 103 | */  | 
                                                        
| 104 | 104 | public function validatorCallback($modifier, $rules, array $messages = [], array $customAttributes = []): \Closure  | 
                                                        
| 105 | 105 |      { | 
                                                        
| 106 | -        $validator = function () use ($modifier, $rules, $messages, $customAttributes) { | 
                                                        |
| 106 | +        $validator = function() use ($modifier, $rules, $messages, $customAttributes) { | 
                                                        |
| 107 | 107 |              if (is_callable($rules)) { | 
                                                        
| 108 | 108 | $rules = $rules();  | 
                                                        
| 109 | 109 | }  |