Passed
Branch master (30ae21)
by Gabor
03:15
created
src/WebHemi/Form/Element/Web/AbstractElement.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
     /**
141 141
      * Sets element value.
142 142
      *
143
-     * @param mixed $value
143
+     * @param string $value
144 144
      * @return AbstractElement
145 145
      */
146 146
     public function setValue($value)
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
     /**
263 263
      * Sets the element errors. Usually the validator should set it, but it is allowed to set from outside too.
264 264
      *
265
-     * @param array $errors
265
+     * @param string[] $errors
266 266
      * @return AbstractElement
267 267
      */
268 268
     public function setErrors(array $errors)
Please login to merge, or discard this patch.
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.