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 87d1af4 commit 95b3bc0Copy full SHA for 95b3bc0
src/Session.php
@@ -241,6 +241,7 @@ public function destroy($id): bool
241
* @param int $maxLifetime The maximum lifetime of a session in seconds.
242
* @return int|false The number of deleted sessions on success, or false on failure.
243
*/
244
+ #[\ReturnTypeWillChange]
245
public function gc($maxLifetime)
246
{
247
$count = 0;
@@ -389,4 +390,4 @@ private function getSessionFile(string $id): string
389
390
391
return $this->savePath . '/sess_' . $id;
392
}
-}
393
+}
0 commit comments