mirror of
https://github.com/filegator/filegator.git
synced 2025-08-15 10:44:01 +02:00
phpstan & refactoring
This commit is contained in:
@@ -55,7 +55,11 @@ class SessionStorage implements Service, SessionStorageInterface
|
||||
|
||||
public function invalidate()
|
||||
{
|
||||
if ($this->getSession() !== null || ! $this->getSession()->isStarted()) {
|
||||
if ($this->getSession() === null) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (! $this->getSession()->isStarted()) {
|
||||
$this->getSession()->start();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user