diff --git a/classes/Service/PsAccountsService.php b/classes/Service/PsAccountsService.php index d66764c6f..39466694a 100644 --- a/classes/Service/PsAccountsService.php +++ b/classes/Service/PsAccountsService.php @@ -97,7 +97,7 @@ public function getShopUuidV4() */ public function getOrRefreshToken() { - return $this->shopTokenRepository->getOrRefreshToken(); + return (string) $this->shopTokenRepository->getOrRefreshToken(); } /** @@ -113,7 +113,7 @@ public function getRefreshToken() */ public function getToken() { - return $this->shopTokenRepository->getToken(); + return (string) $this->shopTokenRepository->getToken(); } /**