@@ -41,6 +41,7 @@ public function __construct(\SessionHandlerInterface $currentHandler, \SessionHa
41
41
/**
42
42
* @return bool
43
43
*/
44
+ #[\ReturnTypeWillChange]
44
45
public function close ()
45
46
{
46
47
$ result = $ this ->currentHandler ->close ();
@@ -52,6 +53,7 @@ public function close()
52
53
/**
53
54
* @return bool
54
55
*/
56
+ #[\ReturnTypeWillChange]
55
57
public function destroy ($ sessionId )
56
58
{
57
59
$ result = $ this ->currentHandler ->destroy ($ sessionId );
@@ -63,6 +65,7 @@ public function destroy($sessionId)
63
65
/**
64
66
* @return bool
65
67
*/
68
+ #[\ReturnTypeWillChange]
66
69
public function gc ($ maxlifetime )
67
70
{
68
71
$ result = $ this ->currentHandler ->gc ($ maxlifetime );
@@ -74,6 +77,7 @@ public function gc($maxlifetime)
74
77
/**
75
78
* @return bool
76
79
*/
80
+ #[\ReturnTypeWillChange]
77
81
public function open ($ savePath , $ sessionName )
78
82
{
79
83
$ result = $ this ->currentHandler ->open ($ savePath , $ sessionName );
@@ -85,6 +89,7 @@ public function open($savePath, $sessionName)
85
89
/**
86
90
* @return string
87
91
*/
92
+ #[\ReturnTypeWillChange]
88
93
public function read ($ sessionId )
89
94
{
90
95
// No reading from new handler until switch-over
@@ -94,6 +99,7 @@ public function read($sessionId)
94
99
/**
95
100
* @return bool
96
101
*/
102
+ #[\ReturnTypeWillChange]
97
103
public function write ($ sessionId , $ sessionData )
98
104
{
99
105
$ result = $ this ->currentHandler ->write ($ sessionId , $ sessionData );
@@ -105,6 +111,7 @@ public function write($sessionId, $sessionData)
105
111
/**
106
112
* @return bool
107
113
*/
114
+ #[\ReturnTypeWillChange]
108
115
public function validateId ($ sessionId )
109
116
{
110
117
// No reading from new handler until switch-over
@@ -114,6 +121,7 @@ public function validateId($sessionId)
114
121
/**
115
122
* @return bool
116
123
*/
124
+ #[\ReturnTypeWillChange]
117
125
public function updateTimestamp ($ sessionId , $ sessionData )
118
126
{
119
127
$ result = $ this ->currentHandler ->updateTimestamp ($ sessionId , $ sessionData );
0 commit comments