Fixes ACCOUNTS-5VF

This commit is contained in:
ErickSkrauch 2019-12-02 22:22:51 +03:00
parent 01028cf378
commit 9557064a97

View File

@ -15,7 +15,7 @@ class RefreshTokenEntity extends \League\OAuth2\Server\Entity\RefreshTokenEntity
return false; return false;
} }
public function getSession(): SessionEntity { public function getSession(): ?SessionEntity {
if ($this->session instanceof SessionEntity) { if ($this->session instanceof SessionEntity) {
return $this->session; return $this->session;
} }