Passed
Push — master ( 4a33b4...375bf7 )
by Luiz Kim
02:48
created
src/Security/TokenAuthenticator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         }
38 38
 
39 39
         return new Passport(
40
-            new UserBadge($apiToken, function ($apiToken) {
40
+            new UserBadge($apiToken, function($apiToken) {
41 41
                 $user = $this->em->getRepository(User::class)->findOneBy(['apiKey' => $apiToken]);
42 42
                 if (null === $user) {
43 43
                     throw new CustomUserMessageAuthenticationException('Invalid API token');
Please login to merge, or discard this patch.