Passed
Branch master (30ae21)
by Gabor
03:15
created
src/WebHemi/Application/SessionManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
             throw new RuntimeException('Cannot start session. Session is already started.', 1000);
83 83
         }
84 84
 
85
-        session_name($this->cookiePrefix.'-'.bin2hex($name . $this->sessionNameSalt));
85
+        session_name($this->cookiePrefix.'-'.bin2hex($name.$this->sessionNameSalt));
86 86
         session_set_cookie_params($timeOut, $path, $domain, $secure, $httpOnly);
87 87
         session_start();
88 88
 
Please login to merge, or discard this patch.
src/WebHemi/Middleware/Action/FakeAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         // Turn off aut complete feature.
46 46
         $this->loginForm->setAutoComplete(false);
47 47
         // test data setter
48
-        $this->loginForm->setData((array)$this->request->getParsedBody());
48
+        $this->loginForm->setData((array) $this->request->getParsedBody());
49 49
 
50 50
         if (!empty($this->request->getParsedBody())) {
51 51
             $this->session->set('session', $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']);
Please login to merge, or discard this patch.