Passed
Pull Request — master (#34)
by Adam
01:53
created
src/Connector/Connector.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,13 +63,13 @@
 block discarded – undo
63 63
 
64 64
     public function createRequest($verb, $path)
65 65
     {
66
-        if (! isset($this->accessToken)) {
66
+        if (!isset($this->accessToken)) {
67 67
             $this->accessToken = $this->provider->getAccessToken('client_credentials');
68 68
         }
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/Endpoints/Environment.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -72,12 +72,12 @@  discard block
 block discarded – undo
72 72
     }
73 73
 
74 74
         /**
75
-     * Backup a database.
76
-     *
77
-     * @param string $environmentUuid
78
-     * @param string $dbName
79
-     * @return OperationResponse
80
-     */
75
+         * Backup a database.
76
+         *
77
+         * @param string $environmentUuid
78
+         * @param string $dbName
79
+         * @return OperationResponse
80
+         */
81 81
     public function createDatabaseBackup($environmentUuid, $dbName)
82 82
     {
83 83
         return new OperationResponse(
@@ -332,7 +332,7 @@  discard block
 block discarded – undo
332 332
     {
333 333
 
334 334
         $options = [
335
-          'form_params' => $config,
335
+            'form_params' => $config,
336 336
         ];
337 337
 
338 338
         return new OperationResponse(
Please login to merge, or discard this patch.
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.