@@ -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', 0, $directory); |
72 | - $accessToken = $cache->get('cloudapi-token', function (ItemInterface $item) { |
|
72 | + $accessToken = $cache->get('cloudapi-token', function(ItemInterface $item) { |
|
73 | 73 | $item->expiresAfter(300); |
74 | 74 | return $this->provider->getAccessToken('client_credentials'); |
75 | 75 | }); |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | |
80 | 80 | return $this->provider->getAuthenticatedRequest( |
81 | 81 | $verb, |
82 | - self::BASE_URI . $path, |
|
82 | + self::BASE_URI.$path, |
|
83 | 83 | $this->accessToken |
84 | 84 | ); |
85 | 85 | } |