Fixed: Cache should be array, not string

This commit is contained in:
philipp lang 2021-11-17 00:34:03 +01:00
parent 513cf6616d
commit a39c8513c9
1 changed files with 4 additions and 1 deletions

View File

@ -102,7 +102,10 @@ class NamiGuard {
$this->setUser(null);
}
private function resolveCache(): ?string
/**
* @return array<string, string>
*/
private function resolveCache(): ?array
{
return $this->cache->get('namiauth-'.$this->session->get($this->getName()));
}