@@ -19,7 +19,7 @@ |
||
19 | 19 | { |
20 | 20 | parent::__construct( |
21 | 21 | array_map( |
22 | - function ($organization) { |
|
22 | + function($organization) { |
|
23 | 23 | return new OrganizationResponse($organization); |
24 | 24 | }, |
25 | 25 | $organizations |
@@ -19,7 +19,7 @@ |
||
19 | 19 | { |
20 | 20 | parent::__construct( |
21 | 21 | array_map( |
22 | - function ($cron) { |
|
22 | + function($cron) { |
|
23 | 23 | return new CronResponse($cron); |
24 | 24 | }, |
25 | 25 | $crons |
@@ -19,7 +19,7 @@ |
||
19 | 19 | { |
20 | 20 | parent::__construct( |
21 | 21 | array_map( |
22 | - function ($server) { |
|
22 | + function($server) { |
|
23 | 23 | return new ServerResponse($server); |
24 | 24 | }, |
25 | 25 | $servers |
@@ -16,7 +16,7 @@ |
||
16 | 16 | { |
17 | 17 | parent::__construct( |
18 | 18 | array_map( |
19 | - function ($sshkey) { |
|
19 | + function($sshkey) { |
|
20 | 20 | return new SshKeyResponse($sshkey); |
21 | 21 | }, |
22 | 22 | $sshkeys |
@@ -16,7 +16,7 @@ |
||
16 | 16 | { |
17 | 17 | parent::__construct( |
18 | 18 | array_map( |
19 | - function ($subscription) { |
|
19 | + function($subscription) { |
|
20 | 20 | return new SubscriptionResponse($subscription); |
21 | 21 | }, |
22 | 22 | $subscriptions |
@@ -16,7 +16,7 @@ |
||
16 | 16 | { |
17 | 17 | parent::__construct( |
18 | 18 | array_map( |
19 | - static function ($branch) { |
|
19 | + static function($branch) { |
|
20 | 20 | return new BranchResponse($branch); |
21 | 21 | }, |
22 | 22 | $branches |
@@ -16,7 +16,7 @@ |
||
16 | 16 | { |
17 | 17 | parent::__construct( |
18 | 18 | array_map( |
19 | - static function ($application) { |
|
19 | + static function($application) { |
|
20 | 20 | return new ApplicationResponse($application); |
21 | 21 | }, |
22 | 22 | $applications |
@@ -16,7 +16,7 @@ |
||
16 | 16 | { |
17 | 17 | parent::__construct( |
18 | 18 | array_map( |
19 | - static function ($backup) { |
|
19 | + static function($backup) { |
|
20 | 20 | return new BackupResponse($backup); |
21 | 21 | }, |
22 | 22 | $backups |
@@ -97,7 +97,7 @@ discard block |
||
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 |
||
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 | } |