Passed
Push — master ( 4925d6...e9d5b2 )
by Marco
37s
created
test/StoragelessTest/Http/SessionMiddlewareTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -619,7 +619,7 @@
 block discarded – undo
619 619
     }
620 620
 
621 621
     /**
622
-     * @param object $object
622
+     * @param SessionMiddleware $object
623 623
      * @param string $name
624 624
      *
625 625
      * @return mixed
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@
 block discarded – undo
26 26
 use Lcobucci\JWT\Builder;
27 27
 use Lcobucci\JWT\Parser;
28 28
 use Lcobucci\JWT\Signer;
29
-use Lcobucci\JWT\Signature;
30 29
 use Lcobucci\JWT\Signer\Hmac\Sha256;
31 30
 use Lcobucci\JWT\Token;
32 31
 use PHPUnit_Framework_TestCase;
Please login to merge, or discard this patch.
src/Storageless/Http/SessionMiddleware.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -260,6 +260,9 @@
 block discarded – undo
260 260
         return $response;
261 261
     }
262 262
 
263
+    /**
264
+     * @param Token $token
265
+     */
263 266
     private function shouldTokenBeRefreshed(?Token $token) : bool
264 267
     {
265 268
         if (! $token || ! $token->hasClaim(self::ISSUED_AT_CLAIM)) {
Please login to merge, or discard this patch.