Completed
Pull Request — master (#48)
by Iman
06:24 queued 03:13
created
src/Reactions/Validator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Reactions/ReactionFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.