diff --git a/src/Session/DatabaseSessionHandler.php b/src/Session/DatabaseSessionHandler.php index 8dac352..5f21ce3 100644 --- a/src/Session/DatabaseSessionHandler.php +++ b/src/Session/DatabaseSessionHandler.php @@ -86,12 +86,12 @@ class DatabaseSessionHandler implements ISessionHandler return true; } - public function gc($maxlifetime): bool + public function gc($maxlifetime): int|false { // empty on purpose // old sessions are deleted by MaintainDatabaseCommand - return true; + return 1; } public function create_sid(): string