Completed
Pull Request — 1.10.x (#1342)
by José
42:42
created
main/inc/lib/system/session.class.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@  discard block
 block discarded – undo
14 14
 class Session implements \ArrayAccess
15 15
 {
16 16
 
17
+    /**
18
+     * @param string $variable
19
+     */
17 20
     static function read($variable, $default = null)
18 21
     {
19 22
         return isset($_SESSION[$variable]) ? $_SESSION[$variable] : $default;
@@ -39,7 +42,7 @@  discard block
 block discarded – undo
39 42
      * Returns true if session has variable set up, false otherwise.
40 43
      *
41 44
      * @param string $variable
42
-     * @return mixed value
45
+     * @return boolean value
43 46
      */
44 47
     static function has($variable)
45 48
     {
Please login to merge, or discard this patch.