@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | if (!isset($this->accessToken) || $this->accessToken->hasExpired()) { |
| 70 | 70 | $directory = sprintf('%s%s%s', Path::getHomeDirectory(), \DIRECTORY_SEPARATOR, '.acquia-php-sdk-v2'); |
| 71 | 71 | $cache = new FilesystemAdapter('cache', 300, $directory); |
| 72 | - $accessToken = $cache->get('cloudapi-token', function () { |
|
| 72 | + $accessToken = $cache->get('cloudapi-token', function() { |
|
| 73 | 73 | return $this->provider->getAccessToken('client_credentials'); |
| 74 | 74 | }); |
| 75 | 75 | |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | |
| 79 | 79 | return $this->provider->getAuthenticatedRequest( |
| 80 | 80 | $verb, |
| 81 | - $this->baseUri . $path, |
|
| 81 | + $this->baseUri.$path, |
|
| 82 | 82 | $this->accessToken |
| 83 | 83 | ); |
| 84 | 84 | } |