@@ -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 | ], |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | 'POST', |
| 77 | 77 | $compiledUrl, |
| 78 | 78 | [ |
| 79 | - RequestOptions::JSON => [$audience->toArray()], |
|
| 79 | + RequestOptions::JSON => [$audience->toArray()], |
|
| 80 | 80 | |
| 81 | 81 | ] |
| 82 | 82 | ); |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | 'PUT', |
| 109 | 109 | $compiledUrl, |
| 110 | 110 | [ |
| 111 | - RequestOptions::JSON => [$audience->toArray()], |
|
| 111 | + RequestOptions::JSON => [$audience->toArray()], |
|
| 112 | 112 | |
| 113 | 113 | ] |
| 114 | 114 | ); |
@@ -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; |