Completed
Push — master ( 32027c...3707ab )
by Iman
02:53
created
src/ListenerFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      */
37 37
     private function exceptionCallback($e, $cb): \Closure
38 38
     {
39
-        return function (...$f) use ($e, $cb) {
39
+        return function(...$f) use ($e, $cb) {
40 40
             if ($cb($f)) {
41 41
                 return true;
42 42
             }
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     private function responseCallback($resp, $cb): \Closure
58 58
     {
59
-        return function (...$f) use ($resp, $cb) {
59
+        return function(...$f) use ($resp, $cb) {
60 60
             if (!$cb($f)) {
61 61
                 $respObj = response();
62 62
                 foreach ($resp as $call) {
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 
72 72
     private function redirectCallback($resp, $cb): \Closure
73 73
     {
74
-        return function (...$f) use ($resp, $cb) {
74
+        return function(...$f) use ($resp, $cb) {
75 75
             if (!$cb($f)) {
76 76
                 $respObj = redirect();
77 77
                 foreach ($resp as $call) {
Please login to merge, or discard this patch.