Skip to content

Commit

Permalink
Merge pull request #22 from Kleisli/master
Browse files Browse the repository at this point in the history
Fix: Remove mixed type
  • Loading branch information
markusguenther authored Jul 29, 2022
2 parents e1d94a0 + 71b08fa commit 3eb20aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Service/ImpersonateService.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ protected function writeSession(string $key, ?string $value): void
* @param string $key
* @throws SessionNotStartedException
*/
protected function getSessionData(string $key): ?mixed
protected function getSessionData(string $key)
{
return $this->session->isStarted() && $this->session->hasKey($key) ? $this->session->getData($key) : null;
}
Expand Down

0 comments on commit 3eb20aa

Please sign in to comment.