Completed
Pull Request — master (#34)
by Adam
03:25
created
src/Connector/Client.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
                 if (is_array($object->message)) {
111 111
                     $output = '';
112 112
                     foreach ($object->message as $message) {
113
-                        $output .= $message . PHP_EOL;
113
+                        $output .= $message.PHP_EOL;
114 114
                     }
115 115
                     throw new \Exception($output);
116 116
                 } else {
Please login to merge, or discard this patch.
src/Connector/Connector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
 
70 70
         return $this->provider->getAuthenticatedRequest(
71 71
             $verb,
72
-            self::BASE_URI . $path,
72
+            self::BASE_URI.$path,
73 73
             $this->accessToken
74 74
         );
75 75
     }
Please login to merge, or discard this patch.
src/Response/LogForwardingDestinationsResponse.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($destinations)
17 17
     {
18
-        parent::__construct(array_map(function ($destination) {
18
+        parent::__construct(array_map(function($destination) {
19 19
             return new LogForwardingDestinationResponse($destination);
20 20
         }, $destinations), self::ARRAY_AS_PROPS);
21 21
     }
Please login to merge, or discard this patch.
src/Response/NotificationsResponse.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
     public function __construct($notifications)
16 16
     {
17
-        parent::__construct(array_map(function ($notification) {
17
+        parent::__construct(array_map(function($notification) {
18 18
             return new NotificationResponse($notification);
19 19
         }, $notifications), self::ARRAY_AS_PROPS);
20 20
     }
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
@@ -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 1 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.