Passed
Push — master ( 001f13...ae7fe2 )
by Jelmer
03:09
created
src/Session/JwtToPsrMapperInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     const SESSION_CLAIM   = 'session-data';
13 13
     const DEFAULT_COOKIE  = 'slsession';
14 14
 
15
-    /** @return  ?Token */
15
+    /** @return  null|Token */
16 16
     public function parseToken(ServerRequestInterface $request);
17 17
 
18 18
     public function appendToken(
Please login to merge, or discard this patch.
src/Session/JwtToPsrMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
             return FigResponseCookies::set($response, $this->getExpirationCookie());
111 111
         }
112 112
 
113
-        if ($sessionContainerChanged || ($this->shouldTokenBeRefreshed($token) && ! $session->isEmpty())) {
113
+        if ($sessionContainerChanged || ($this->shouldTokenBeRefreshed($token) && !$session->isEmpty())) {
114 114
             return FigResponseCookies::set($response, $this->getTokenCookie($session));
115 115
         }
116 116
 
Please login to merge, or discard this patch.