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