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

This commit is contained in:
bence committed 2023-09-27 21:46:32 +02:00
1 parent 8e08b09ae8
commit 2226b88a88
1 file changed
+2 -2
+2 -2
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