Passed
Push — master ( d4720a...191cf4 )
by Paul
14:06 queued 09:32
created
src/Guards/TokenGuard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,13 +19,13 @@
 block discarded – undo
19 19
         if ($token = $this->request->bearerToken()) {
20 20
             $accessToken = AccessToken::findToken($token);
21 21
 
22
-            if (! $accessToken) {
22
+            if (!$accessToken) {
23 23
                 return;
24 24
             }
25 25
 
26 26
             $user = $accessToken->user;
27 27
 
28
-            if (! $user->hasApiAccess()) {
28
+            if (!$user->hasApiAccess()) {
29 29
                 return;
30 30
             }
31 31
 
Please login to merge, or discard this patch.
src/Policies/AccessTokenPolicy.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
             return true;
26 26
         }
27 27
 
28
-        if (! $user->hasPermissionTo('access_token:view')) {
28
+        if (!$user->hasPermissionTo('access_token:view')) {
29 29
             return false;
30 30
         }
31 31
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
             return true;
52 52
         }
53 53
 
54
-        if (! $user->hasPermissionTo('access_token:update')) {
54
+        if (!$user->hasPermissionTo('access_token:update')) {
55 55
             return false;
56 56
         }
57 57
 
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
             return true;
69 69
         }
70 70
 
71
-        if (! $user->hasPermissionTo('access_token:delete')) {
71
+        if (!$user->hasPermissionTo('access_token:delete')) {
72 72
             return false;
73 73
         }
74 74
 
Please login to merge, or discard this patch.