Passed
Pull Request — master (#314)
by
unknown
01:59
created
src/Connector/Connector.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
             $directory = Path::join(Path::getHomeDirectory(), '.acquia-php-sdk-v2');
98 98
             /** @infection-ignore-all */
99 99
             $cache = new FilesystemAdapter('cache', 300, $directory);
100
-            $accessToken = $cache->get('cloudapi-token', function () {
100
+            $accessToken = $cache->get('cloudapi-token', function() {
101 101
                 return $this->provider->getAccessToken('client_credentials');
102 102
             });
103 103
 
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
 
107 107
         return $this->provider->getAuthenticatedRequest(
108 108
             $verb,
109
-            $this->getBaseUri() . $path,
109
+            $this->getBaseUri().$path,
110 110
             $this->accessToken
111 111
         );
112 112
     }
Please login to merge, or discard this patch.
src/Endpoints/Environments.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -201,10 +201,10 @@  discard block
 block discarded – undo
201 201
     public function enableEmail(string $environmentUuid): OperationResponse
202 202
     {
203 203
         return new OperationResponse(
204
-          $this->client->request(
204
+            $this->client->request(
205 205
             'post',
206 206
             "/environments/$environmentUuid/email/actions/enable"
207
-          )  
207
+            )  
208 208
         );
209 209
     }
210 210
 
@@ -218,10 +218,10 @@  discard block
 block discarded – undo
218 218
     public function disableEmail(string $environmentUuid): OperationResponse
219 219
     {
220 220
         return new OperationResponse(
221
-          $this->client->request(
221
+            $this->client->request(
222 222
             'post',
223 223
             "/environments/$environmentUuid/email/actions/disable"
224
-          )  
224
+            )  
225 225
         );
226 226
     }
227 227
 
Please login to merge, or discard this patch.