diff --git a/src/Api/Abstracts/AbstractApiRequester.php b/src/Api/Abstracts/AbstractApiRequester.php index 6bae78b..7636210 100644 --- a/src/Api/Abstracts/AbstractApiRequester.php +++ b/src/Api/Abstracts/AbstractApiRequester.php @@ -131,7 +131,7 @@ abstract class AbstractApiRequester implements ApiRequesterInterface, RequestCha * @param Client $client * @return self */ - public function setClient(Client &$client): self { + public function setClient(Client &$client) { $this->client = $client; return $this; } @@ -154,7 +154,7 @@ abstract class AbstractApiRequester implements ApiRequesterInterface, RequestCha * @param string $authToken * @return self */ - public function setAuthToken(string $authToken): self { + public function setAuthToken(string $authToken) { $this->authToken = $authToken; return $this; } diff --git a/src/Api/Interfaces/ApiRequesterInterface.php b/src/Api/Interfaces/ApiRequesterInterface.php index e34be63..8f8c32a 100644 --- a/src/Api/Interfaces/ApiRequesterInterface.php +++ b/src/Api/Interfaces/ApiRequesterInterface.php @@ -33,7 +33,7 @@ interface ApiRequesterInterface * @param Client $client * @return self */ - public function setClient(Client &$client): self; + public function setClient(Client &$client); /** * Get the authentication token @@ -52,7 +52,7 @@ interface ApiRequesterInterface * @param string $authToken * @return self */ - public function setAuthToken(string $authToken): self; + public function setAuthToken(string $authToken); /** * @return $this diff --git a/src/Model/Abstracts/AbstractApiModel.php b/src/Model/Abstracts/AbstractApiModel.php index 5de1702..01514f3 100644 --- a/src/Model/Abstracts/AbstractApiModel.php +++ b/src/Model/Abstracts/AbstractApiModel.php @@ -95,7 +95,7 @@ abstract class AbstractApiModel implements ApiModelInterface, JsonSerializable, * @param Client $client * @return self */ - public function setClient(Client &$client): self { + public function setClient(Client &$client) { $this->client = $client; return $this; } diff --git a/src/Model/Interfaces/ApiModelInterface.php b/src/Model/Interfaces/ApiModelInterface.php index ceded2e..73dc345 100644 --- a/src/Model/Interfaces/ApiModelInterface.php +++ b/src/Model/Interfaces/ApiModelInterface.php @@ -69,6 +69,6 @@ interface ApiModelInterface * @param Client $client * @return self */ - public function setClient(Client &$client): self; + public function setClient(Client &$client); }