Passed
Push — master ( 989108...4831dd )
by Dane
02:00
created
src/Response/CronsResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     {
15 15
         parent::__construct(
16 16
             array_map(
17
-                static function ($cron) {
17
+                static function($cron) {
18 18
                     return new CronResponse($cron);
19 19
                 },
20 20
                 $crons
Please login to merge, or discard this patch.
src/Response/EnvironmentsResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     {
15 15
         parent::__construct(
16 16
             array_map(
17
-                static function ($environment) {
17
+                static function($environment) {
18 18
                     return new EnvironmentResponse($environment);
19 19
                 },
20 20
                 $environments
Please login to merge, or discard this patch.
src/Connector/ClientInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
     /**
75 75
      * Add a query parameter to filter results.
76 76
      */
77
-    public function addQuery(string $name, int|string $value): void;
77
+    public function addQuery(string $name, int | string $value): void;
78 78
 
79 79
     /**
80 80
      * Get options from Client.
Please login to merge, or discard this patch.
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.
src/Response/CronResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
     /**
10 10
      * @var null[]|object
11 11
      */
12
-    public array|object $server;
12
+    public array | object $server;
13 13
 
14 14
     public string $command;
15 15
 
Please login to merge, or discard this patch.