adapt signature of DatabaseSessionHandler::gc to the parent class
Some checks failed
soko-web/pipeline/pr-master There was a failure building this commit

This commit is contained in:
Bence Pőcze 2023-09-27 21:46:32 +02:00
parent 8e08b09ae8
commit 2226b88a88
Signed by: bence
GPG Key ID: DC5BD6E95A333E6D

View File

@ -86,12 +86,12 @@ class DatabaseSessionHandler implements ISessionHandler
return true; return true;
} }
public function gc($maxlifetime): bool public function gc($maxlifetime): int|false
{ {
// empty on purpose // empty on purpose
// old sessions are deleted by MaintainDatabaseCommand // old sessions are deleted by MaintainDatabaseCommand
return true; return 1;
} }
public function create_sid(): string public function create_sid(): string