@@ -31,7 +31,7 @@ |
||
31 | 31 | public function __destruct() |
32 | 32 | { |
33 | 33 | $data = $this->validationData; |
34 | - $modifier = $this->modifier ?: function ($d) { |
|
34 | + $modifier = $this->modifier ?: function($d) { |
|
35 | 35 | return $d; |
36 | 36 | }; |
37 | 37 | $chain = resolve(Chain::class); |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | $reaction = $this->makeReaction(); |
15 | 15 | $condition = resolve(Chain::class)->condition; |
16 | 16 | |
17 | - return function (...$f) use ($condition, $reaction) { |
|
17 | + return function(...$f) use ($condition, $reaction) { |
|
18 | 18 | if (!$condition($f)) { |
19 | 19 | $reaction(); |
20 | 20 | } |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | $beforeResponse = $chain->beforeResponse(); |
29 | 29 | $debug = $chain->debugInfo; |
30 | 30 | |
31 | - return function () use ($beforeResponse, $responder, $debug) { |
|
31 | + return function() use ($beforeResponse, $responder, $debug) { |
|
32 | 32 | event('heyman_reaction_is_happening', $debug); |
33 | 33 | $beforeResponse(); |
34 | 34 | $responder(); |