Passed
Pull Request — master (#2)
by Iman
04:45
created
src/ListenerFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     private function exceptionCallback($e, $cb): \Closure
27 27
     {
28
-        return function (...$f) use ($e, $cb) {
28
+        return function(...$f) use ($e, $cb) {
29 29
             if (!$cb($f)) {
30 30
                 throw $e;
31 31
             }
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      */
41 41
     private function responseCallback($resp, $cb): \Closure
42 42
     {
43
-        return function (...$f) use ($resp, $cb) {
43
+        return function(...$f) use ($resp, $cb) {
44 44
             if (!$cb($f)) {
45 45
                 list($method, $args) = $resp;
46 46
                 respondWith(response()->{$method}(...$args));
Please login to merge, or discard this patch.