Completed
Push — master ( df42c5...9ca6ba )
by Marco
324:33 queued 289:32
created
src/Storageless/Http/SessionMiddleware.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -208,6 +208,7 @@
 block discarded – undo
208 208
     /**
209 209
      * @throws BadMethodCallException
210 210
      * @throws InvalidArgumentException
211
+     * @param null|Token $token
211 212
      */
212 213
     private function appendToken(SessionInterface $sessionContainer, Response $response, ?Token $token) : Response
213 214
     {
Please login to merge, or discard this patch.
test/StoragelessTest/Http/SessionMiddlewareTest.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -609,6 +609,9 @@  discard block
 block discarded – undo
609 609
         );
610 610
     }
611 611
 
612
+    /**
613
+     * @param RequestHandlerInterface $next
614
+     */
612 615
     private function ensureSameResponse(
613 616
         SessionMiddleware $middleware,
614 617
         ServerRequestInterface $request,
@@ -669,7 +672,7 @@  discard block
 block discarded – undo
669 672
             ->getToken();
670 673
     }
671 674
 
672
-    /** @param mixed $claim */
675
+    /** @param string $claim */
673 676
     private function createTokenWithCustomClaim(
674 677
         SessionMiddleware $middleware,
675 678
         DateTime $issuedAt,
Please login to merge, or discard this patch.