@@ -64,7 +64,7 @@ |
||
| 64 | 64 | * @param $method |
| 65 | 65 | * @param null $uri |
| 66 | 66 | * @param array $options |
| 67 | - * @return mixed|\Psr\Http\Message\ResponseInterface |
|
| 67 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 68 | 68 | * @throws \GuzzleHttp\Exception\GuzzleException |
| 69 | 69 | */ |
| 70 | 70 | public function request($method, $uri = null, array $options = []) |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | { |
| 72 | 72 | $optionForToken = [ |
| 73 | 73 | 'headers' => [ |
| 74 | - 'Authorization' => ['Bearer '.$this->authStrategy->authenticateJwtToken($this->clientId, $this->secretKey, $this->token, true)], |
|
| 74 | + 'Authorization' => ['Bearer ' . $this->authStrategy->authenticateJwtToken($this->clientId, $this->secretKey, $this->token, true)], |
|
| 75 | 75 | 'content-type' => 'application/vnd.adobe.target.v1+json', |
| 76 | 76 | 'x-api-key' => $this->clientId |
| 77 | 77 | ], |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | * JwtStrategy constructor. |
| 27 | 27 | * |
| 28 | 28 | * @param ClientInterface $clientInterface |
| 29 | - * @param Cache|null $cache |
|
| 29 | + * @param Cache $cache |
|
| 30 | 30 | */ |
| 31 | 31 | public function __construct(ClientInterface $clientInterface, Cache $cache) |
| 32 | 32 | { |
@@ -98,7 +98,7 @@ |
||
| 98 | 98 | { |
| 99 | 99 | $compiledUrl = sprintf($this->baseUrl, $tenant); |
| 100 | 100 | |
| 101 | - $compiledUrl = $compiledUrl. $audience->getId(); |
|
| 101 | + $compiledUrl = $compiledUrl . $audience->getId(); |
|
| 102 | 102 | |
| 103 | 103 | if (empty($audience->getId())) { |
| 104 | 104 | return; |