Passed
Push — master ( e02931...c0b1f8 )
by Florian
06:34 queued 03:32
created
tests/TestCase/Authenticator/Storage/NativePhpSessionStorageTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
         $result = $storage->read($this->request);
81 81
         $this->assertEquals($data, $result);
82 82
 
83
-        $storage->clear($this->request,  $this->response);
83
+        $storage->clear($this->request, $this->response);
84 84
         $result = $storage->read($this->request);
85 85
         $this->assertNull($result);
86 86
     }
Please login to merge, or discard this patch.
src/Authenticator/Storage/NativePhpSessionStorage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
      */
78 78
     public function write(ServerRequestInterface $request, ResponseInterface $response, $data): ResponseInterface
79 79
     {
80
-        $_SESSION[$this->key] = (array)$data;
80
+        $_SESSION[$this->key] = (array) $data;
81 81
 
82 82
         return $response;
83 83
     }
Please login to merge, or discard this patch.