Passed
Pull Request — master (#426)
by Dane
01:46
created
src/Connector/Connector.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -99,11 +99,11 @@  discard block
 block discarded – undo
99 99
             /** @infection-ignore-all */
100 100
             $cache = new FilesystemAdapter('cache', 300, $directory);
101 101
             $orgUuid = getenv('AH_ORGANIZATION_UUID');
102
-            $cacheKey = 'cloudapi-token-' . $this->clientId . $orgUuid;
103
-            $accessToken = $cache->get($cacheKey, function () use ($orgUuid) {
102
+            $cacheKey = 'cloudapi-token-'.$this->clientId.$orgUuid;
103
+            $accessToken = $cache->get($cacheKey, function() use ($orgUuid) {
104 104
                 $options = [];
105 105
                 if ($orgUuid) {
106
-                    $options['scope'] = 'organization:' . $orgUuid;
106
+                    $options['scope'] = 'organization:'.$orgUuid;
107 107
                 }
108 108
                 return $this->provider->getAccessToken('client_credentials', $options);
109 109
             });
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
 
114 114
         return $this->provider->getAuthenticatedRequest(
115 115
             $verb,
116
-            $this->getBaseUri() . $path,
116
+            $this->getBaseUri().$path,
117 117
             $this->accessToken
118 118
         );
119 119
     }
Please login to merge, or discard this patch.