Completed
Push — master ( 535f4e...88d352 )
by Chris
03:05
created
src/ChrisArmitage/ScalewayApi/Client.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
     protected $token;
11 11
     protected $resource;
12 12
     protected $method;
13
-    protected $parameters = [];
13
+    protected $parameters = [ ];
14 14
 
15 15
     public function __construct($endpoint, $token) {
16 16
         $this->endpoint = $endpoint;
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
                 $response = $guzzle->get("{$this->endpoint}{$this->resource}", $options);
47 47
                 break;
48 48
             case 'POST':
49
-                $options['json'] = $this->parameters;
49
+                $options[ 'json' ] = $this->parameters;
50 50
                 $response = $guzzle->post("{$this->endpoint}{$this->resource}", $options);
51 51
                 break;
52 52
             case 'DELETE':
Please login to merge, or discard this patch.
src/ChrisArmitage/ScalewayApi/Endpoints/Servers.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,10 +32,10 @@
 block discarded – undo
32 32
     public function getAllServers() {
33 33
         $response = $this->gateway->getServers();
34 34
 
35
-        $collection = [];
35
+        $collection = [ ];
36 36
 
37 37
         foreach ($response->servers as $server) {
38
-            $collection[] = Server::makeFromServerJson($server);
38
+            $collection[ ] = Server::makeFromServerJson($server);
39 39
         }
40 40
 
41 41
         return $collection;
Please login to merge, or discard this patch.
src/ChrisArmitage/ScalewayApi/Domain/Server.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
     protected $publicIp;
15 15
     protected $privateIp;
16 16
     protected $commercialType;
17
-    protected $volumes = [];
17
+    protected $volumes = [ ];
18 18
 
19 19
     protected function __construct($server) {
20 20
         $this->id = $server->id;
Please login to merge, or discard this patch.