We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ad440c commit b34028dCopy full SHA for b34028d
src/SessionHandler.php
@@ -128,13 +128,13 @@ public function destroy($sessionId)
128
}
129
130
/**
131
- * @return bool
+ * @return int|false
132
*/
133
#[\ReturnTypeWillChange]
134
public function gc($maxLifetime)
135
{
136
// DynamoDB takes care of garbage collection
137
- return true;
+ return 0;
138
139
140
tests/SessionHandlerTest.php
@@ -93,7 +93,7 @@ public function testRead()
93
],
94
]));
95
96
- $this::assertEquals('test data', $this->handler->read('123456789'));
+ self::assertEquals('test data', $this->handler->read('123456789'));
97
98
99
public function testWrite()
0 commit comments