Passed
Pull Request — master (#34)
by Adam
03:20
created
src/Endpoints/Code.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
      * @param string $branch
50 50
      * @return OperationResponse
51 51
      */
52
-    public function switch($environmentUuid, $branch)
52
+    public function switch ($environmentUuid, $branch)
53 53
     {
54 54
 
55 55
         $options = [
Please login to merge, or discard this patch.
src/Endpoints/Environments.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
     {
91 91
 
92 92
         $options  = [
93
-          'form_params' => $config,
93
+            'form_params' => $config,
94 94
         ];
95 95
 
96 96
         return new OperationResponse(
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
     public function update($environmentUuid, array $config)
90 90
     {
91 91
 
92
-        $options  = [
92
+        $options = [
93 93
           'form_params' => $config,
94 94
         ];
95 95
 
Please login to merge, or discard this patch.
src/Response/SslCertificatesResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      */
16 16
     public function __construct($certificates)
17 17
     {
18
-        parent::__construct(array_map(function ($certificate) {
18
+        parent::__construct(array_map(function($certificate) {
19 19
             return new SslCertificateResponse($certificate);
20 20
         }, $certificates), self::ARRAY_AS_PROPS);
21 21
     }
Please login to merge, or discard this patch.
src/Response/LogsResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      */
16 16
     public function __construct($logs)
17 17
     {
18
-        parent::__construct(array_map(function ($log) {
18
+        parent::__construct(array_map(function($log) {
19 19
             return new LogResponse($log);
20 20
         }, $logs), self::ARRAY_AS_PROPS);
21 21
     }
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
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     // custom string representation of object
20 20
     public function __toString()
21 21
     {
22
-        return __CLASS__ . ": [{$this->code}]: {$this->message}\n";
22
+        return __CLASS__.": [{$this->code}]: {$this->message}\n";
23 23
     }
24 24
 
25 25
     public function setError($object)
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
         if (is_array($object->message)) {
28 28
             $output = '';
29 29
             foreach ($object->message as $message) {
30
-                $output .= $message . PHP_EOL;
30
+                $output .= $message.PHP_EOL;
31 31
             }
32 32
             $this->message = $output;
33 33
         } else {
Please login to merge, or discard this patch.