Passed
Push — master ( 74a032...57ba96 )
by Iman
03:23
created
src/HeyMan.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 
37 37
     public function startListening($response, $exception)
38 38
     {
39
-        $callbackListener = app(ListenerFactory::class)->make($response, $exception );
39
+        $callbackListener = app(ListenerFactory::class)->make($response, $exception);
40 40
         $this->authorizer->startGuarding($callbackListener);
41 41
     }
42 42
 }
43 43
\ No newline at end of file
Please login to merge, or discard this patch.
src/ListenerFactory.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@  discard block
 block discarded – undo
24 24
      */
25 25
     private function exceptionCallback($e, $cb): \Closure
26 26
     {
27
-        return function () use ($e, $cb) {
28
-            if (! $cb()) {
27
+        return function() use ($e, $cb) {
28
+            if (!$cb()) {
29 29
                 throw $e;
30 30
             }
31 31
         };
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
      */
39 39
     private function responseCallback($resp, $cb): \Closure
40 40
     {
41
-        return function () use ($resp, $cb) {
42
-            if (! $cb()) {
41
+        return function() use ($resp, $cb) {
42
+            if (!$cb()) {
43 43
                 list($method, $args) = $resp;
44 44
                 respondWith(response()->{$method}(...$args));
45 45
             }
Please login to merge, or discard this patch.
src/Responder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
165 165
         $this->response = [__FUNCTION__, func_get_args()];
166 166
     }
167 167
 
168
-    public function weThrowNew($exception, $message= '')
168
+    public function weThrowNew($exception, $message = '')
169 169
     {
170 170
         $this->exception = new $exception($message);
171 171
     }
Please login to merge, or discard this patch.