Completed
Pull Request — master (#84)
by Marco
169:18 queued 134:18
created
test/StoragelessTest/Http/SessionMiddlewareTest.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -605,6 +605,9 @@  discard block
 block discarded – undo
605 605
         );
606 606
     }
607 607
 
608
+    /**
609
+     * @param RequestHandlerInterface $next
610
+     */
608 611
     private function ensureSameResponse(
609 612
         SessionMiddleware $middleware,
610 613
         ServerRequestInterface $request,
@@ -663,7 +666,7 @@  discard block
 block discarded – undo
663 666
             ->getToken();
664 667
     }
665 668
 
666
-    /** @param mixed $claim */
669
+    /** @param string $claim */
667 670
     private function createTokenWithCustomClaim(
668 671
         SessionMiddleware $middleware,
669 672
         \DateTime $issuedAt,
Please login to merge, or discard this patch.
src/Storageless/Http/SessionMiddleware.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -204,6 +204,7 @@
 block discarded – undo
204 204
     /**
205 205
      * @throws \BadMethodCallException
206 206
      * @throws \InvalidArgumentException
207
+     * @param null|Token $token
207 208
      */
208 209
     private function appendToken(SessionInterface $sessionContainer, Response $response, ?Token $token) : Response
209 210
     {
Please login to merge, or discard this patch.