@@ -99,11 +99,11 @@ discard block |
||
99 | 99 | /** @infection-ignore-all */ |
100 | 100 | $cache = new FilesystemAdapter('cache', 300, $directory); |
101 | 101 | $orgUuid = getenv('AH_ORGANIZATION_UUID'); |
102 | - $cacheKey = 'cloudapi-token-' . $this->clientId . $orgUuid; |
|
103 | - $accessToken = $cache->get($cacheKey, function () use ($orgUuid) { |
|
102 | + $cacheKey = 'cloudapi-token-'.$this->clientId.$orgUuid; |
|
103 | + $accessToken = $cache->get($cacheKey, function() use ($orgUuid) { |
|
104 | 104 | $options = []; |
105 | 105 | if ($orgUuid) { |
106 | - $options['scope'] = 'organization:' . $orgUuid; |
|
106 | + $options['scope'] = 'organization:'.$orgUuid; |
|
107 | 107 | } |
108 | 108 | return $this->provider->getAccessToken('client_credentials', $options); |
109 | 109 | }); |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | |
114 | 114 | return $this->provider->getAuthenticatedRequest( |
115 | 115 | $verb, |
116 | - $this->getBaseUri() . $path, |
|
116 | + $this->getBaseUri().$path, |
|
117 | 117 | $this->accessToken |
118 | 118 | ); |
119 | 119 | } |