Test Setup Failed
Branch master (9af794)
by Ollie
03:48
created
Category
src/JWTGuard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
 
186 186
         $token = (new Parser)->parse($jwt);
187 187
 
188
-        if (! $this->validateToken($token)) {
188
+        if ( ! $this->validateToken($token)) {
189 189
             return null;
190 190
         }
191 191
 
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
         $validator->setAudience(config('app.url'));
206 206
         $validator->setIssuer(config('app.url'));
207 207
 
208
-        if (! $token->validate($validator)) {
208
+        if ( ! $token->validate($validator)) {
209 209
             return false;
210 210
         }
211 211
 
Please login to merge, or discard this patch.
src/JWTServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     {
13 13
         // Register the JWT driver with Laravel
14 14
         $auth = $this->app->make(AuthManager::class);
15
-        $auth->extend('jwt', function (Application $app, string $name, array $config) use ($auth) {
15
+        $auth->extend('jwt', function(Application $app, string $name, array $config) use ($auth) {
16 16
             $guard = new JWTGuard($auth->createUserProvider($config['provider'] ?? null), $name, $config);
17 17
             $guard
18 18
                 // Set the request instance on the guard
Please login to merge, or discard this patch.