@@ -91,10 +91,10 @@ discard block |
||
91 | 91 | $directory = Path::join(Path::getHomeDirectory(), '.acquia-php-sdk-v2'); |
92 | 92 | /** @infection-ignore-all */ |
93 | 93 | $cache = new FilesystemAdapter('cache', 300, $directory); |
94 | - $accessToken = $cache->get('cloudapi-token', function () { |
|
94 | + $accessToken = $cache->get('cloudapi-token', function() { |
|
95 | 95 | $options = []; |
96 | 96 | if ($orgUuid = getenv('AH_ORGANIZATION_UUID')) { |
97 | - $options['scope'] = 'organization:' . $orgUuid; |
|
97 | + $options['scope'] = 'organization:'.$orgUuid; |
|
98 | 98 | } |
99 | 99 | return $this->provider->getAccessToken('client_credentials', $options); |
100 | 100 | }); |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | |
105 | 105 | return $this->provider->getAuthenticatedRequest( |
106 | 106 | $verb, |
107 | - $this->getBaseUri() . $path, |
|
107 | + $this->getBaseUri().$path, |
|
108 | 108 | $this->accessToken |
109 | 109 | ); |
110 | 110 | } |