Passed
Push — master ( 5e9dda...a301eb )
by Adam
01:54
created
src/Connector/Connector.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
         if (!isset($this->accessToken) || $this->accessToken->hasExpired()) {
69 69
             $directory = sprintf('%s%s%s', posix_getpwuid(getmyuid())['dir'], \DIRECTORY_SEPARATOR, '.acquia-php-sdk-v2');
70 70
             $cache = new FilesystemAdapter('cache', 0, $directory);
71
-            $accessToken = $cache->get('cloudapi-token', function (ItemInterface $item) {
71
+            $accessToken = $cache->get('cloudapi-token', function(ItemInterface $item) {
72 72
                 $item->expiresAfter(300);
73 73
                 return $this->provider->getAccessToken('client_credentials');
74 74
             });
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 
79 79
         return $this->provider->getAuthenticatedRequest(
80 80
             $verb,
81
-            self::BASE_URI . $path,
81
+            self::BASE_URI.$path,
82 82
             $this->accessToken
83 83
         );
84 84
     }
Please login to merge, or discard this patch.