adapt signature of DatabaseSessionHandler::gc to the parent class
Some checks failed
soko-web/pipeline/pr-master There was a failure building this commit
Some checks failed
soko-web/pipeline/pr-master There was a failure building this commit
This commit is contained in:
parent
8e08b09ae8
commit
2226b88a88
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user