Skip to content

Commit

Permalink
fix: cast token to string in legacy methods of PsAccountsService
Browse files Browse the repository at this point in the history
  • Loading branch information
hschoenenberger committed Sep 15, 2021
1 parent e7b3160 commit bb61211
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/Service/PsAccountsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public function getShopUuidV4()
*/
public function getOrRefreshToken()
{
return $this->shopTokenRepository->getOrRefreshToken();
return (string) $this->shopTokenRepository->getOrRefreshToken();
}

/**
Expand All @@ -113,7 +113,7 @@ public function getRefreshToken()
*/
public function getToken()
{
return $this->shopTokenRepository->getToken();
return (string) $this->shopTokenRepository->getToken();
}

/**
Expand Down

0 comments on commit bb61211

Please sign in to comment.