Passed
Push — master ( 9f3110...1e777f )
by Dane
02:14
created
src/Connector/Client.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@
 block discarded – undo
186 186
     /**
187 187
      * @inheritdoc
188 188
      */
189
-    public function addQuery(string $name, int|string $value): void
189
+    public function addQuery(string $name, int | string $value): void
190 190
     {
191 191
         $this->query = array_merge_recursive($this->query, [$name => $value]);
192 192
     }
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
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
      * Add a query parameter to filter results.
78 78
      *
79 79
      */
80
-    public function addQuery(string $name, int|string $value): void;
80
+    public function addQuery(string $name, int | string $value): void;
81 81
 
82 82
     /**
83 83
      * Get options from Client.
Please login to merge, or discard this patch.
src/Endpoints/Code.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      *
35 35
      *
36 36
      */
37
-    public function switch(string $environmentUuid, string $branch): OperationResponse
37
+    public function switch (string $environmentUuid, string $branch): OperationResponse
38 38
     {
39 39
 
40 40
         $options = [
Please login to merge, or discard this patch.
src/Exception/ApiErrorException.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      */
31 31
     public function __toString(): string
32 32
     {
33
-        return __CLASS__ . ": [{$this->errorType}]: {$this->message}\n";
33
+        return __CLASS__.": [{$this->errorType}]: {$this->message}\n";
34 34
     }
35 35
 
36 36
     /**
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
         if (is_array($response_body->message) || is_object($response_body->message)) {
43 43
             $output = '';
44 44
             foreach ($response_body->message as $message) {
45
-                $output .= $message . PHP_EOL;
45
+                $output .= $message.PHP_EOL;
46 46
             }
47 47
             $this->message = $output;
48 48
         } else {
Please login to merge, or discard this patch.