Wrong return type Model\Account

This commit is contained in:
djmaze 2021-11-08 10:40:48 +01:00
parent a729a06a6b
commit 40f9f69b42

View file

@ -282,7 +282,7 @@ trait UserAuth
/** /**
* @throws \RainLoop\Exceptions\ClientException * @throws \RainLoop\Exceptions\ClientException
*/ */
public function getAccountFromToken(bool $bThrowExceptionOnFalse = true): ?Model\Account public function getAccountFromToken(bool $bThrowExceptionOnFalse = true): ?Account
{ {
return $this->GetAccountFromCustomToken($this->getLocalAuthToken(), $bThrowExceptionOnFalse, true, true); return $this->GetAccountFromCustomToken($this->getLocalAuthToken(), $bThrowExceptionOnFalse, true, true);
} }