Passed
Push — master ( b9cd6e...b2eaf8 )
by Iman
05:46
created
src/Reactions/ReactionFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
         $reaction = $this->makeReaction();
30 30
         $condition = $this->chain->condition;
31 31
 
32
-        return function (...$f) use ($condition, $reaction) {
32
+        return function(...$f) use ($condition, $reaction) {
33 33
             if (!$condition($f)) {
34 34
                 $reaction();
35 35
             }
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
         $beforeResponse = $this->chain->beforeResponse();
43 43
         $debug = app(Chain::class)->debugInfo;
44 44
 
45
-        return function () use ($beforeResponse, $responder, $debug) {
45
+        return function() use ($beforeResponse, $responder, $debug) {
46 46
             event('heyman_reaction_is_happening', $debug);
47 47
             $beforeResponse();
48 48
             $responder();
Please login to merge, or discard this patch.