@@ -35,6 +35,7 @@ public function __construct(SessionHandler $sessionHandler)
3535 *
3636 * @return bool Whether or not the operation succeeded
3737 */
38+ #[\ReturnTypeWillChange]
3839 public function open ($ savePath , $ name )
3940 {
4041 return $ this ->sessionHandler ->open ($ savePath , $ name );
@@ -47,6 +48,7 @@ public function open($savePath, $name)
4748 *
4849 * @return bool Whether or not the operation succeeded
4950 */
51+ #[\ReturnTypeWillChange]
5052 public function close ()
5153 {
5254 return $ this ->sessionHandler ->close ();
@@ -61,6 +63,7 @@ public function close()
6163 *
6264 * @return string Session data
6365 */
66+ #[\ReturnTypeWillChange]
6467 public function read ($ id )
6568 {
6669 return $ this ->sessionHandler ->read ($ id );
@@ -76,6 +79,7 @@ public function read($id)
7679 *
7780 * @return bool Whether or not the operation succeeded
7881 */
82+ #[\ReturnTypeWillChange]
7983 public function write ($ id , $ data )
8084 {
8185 return $ this ->sessionHandler ->write ($ id , $ data );
@@ -90,6 +94,7 @@ public function write($id, $data)
9094 *
9195 * @return bool Whether or not the operation succeeded
9296 */
97+ #[\ReturnTypeWillChange]
9398 public function destroy ($ id )
9499 {
95100 return $ this ->sessionHandler ->destroy ($ id );
@@ -104,6 +109,7 @@ public function destroy($id)
104109 *
105110 * @return bool Whether or not the operation succeeded
106111 */
112+ #[\ReturnTypeWillChange]
107113 public function gc ($ maxlifetime )
108114 {
109115 return $ this ->sessionHandler ->gc ($ maxlifetime );
0 commit comments