Passed
Pull Request — master (#102)
by Adam
02:00
created
src/Connector/Connector.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.