@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | * |
39 | 39 | * @param string $save_path The path where to store/retrieve the session. |
40 | 40 | * @param string $name The session name. |
41 | - * @return boolean |
|
41 | + * @return boolean|null |
|
42 | 42 | */ |
43 | 43 | public function open($save_path, $name) |
44 | 44 | { |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | * Close the session |
49 | 49 | * @link http://php.net/manual/en/sessionhandlerinterface.close.php |
50 | 50 | * |
51 | - * @return boolean |
|
51 | + * @return boolean|null |
|
52 | 52 | */ |
53 | 53 | public function close() |
54 | 54 | { |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | * Read session data |
61 | 61 | * @link http://php.net/manual/en/sessionhandlerinterface.read.php |
62 | 62 | * @param string $session_id The session id. |
63 | - * @return string |
|
63 | + * @return boolean |
|
64 | 64 | */ |
65 | 65 | public function read($session_id) |
66 | 66 | { |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | * @link http://php.net/manual/en/sessionhandlerinterface.write.php |
81 | 81 | * @param string $session_id The session id. |
82 | 82 | * @param string $session_data The encoded session data. |
83 | - * @return boolean |
|
83 | + * @return boolean|null |
|
84 | 84 | */ |
85 | 85 | public function write($session_id, $session_data) |
86 | 86 | { |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | * Destroy a session |
97 | 97 | * @link http://php.net/manual/en/sessionhandlerinterface.destroy.php |
98 | 98 | * @param string $session_id The session ID being destroyed. |
99 | - * @return boolean |
|
99 | + * @return boolean|null |
|
100 | 100 | */ |
101 | 101 | public function destroy($session_id) |
102 | 102 | { |