Completed
Push — master ( 6da491...d22dba )
by Sergey
02:13
created
src/Sender.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -46,13 +46,13 @@
 block discarded – undo
46 46
     {
47 47
         switch (count($arguments)) {
48 48
             case 1:
49
-                return $request->{$method}($arguments[0]);
49
+                return $request->{$method}($arguments[ 0 ]);
50 50
             case 2:
51
-                return $request->{$method}($arguments[0], $arguments[1]);
51
+                return $request->{$method}($arguments[ 0 ], $arguments[ 1 ]);
52 52
             case 3:
53
-                return $request->{$method}($arguments[0], $arguments[1], $arguments[2]);
53
+                return $request->{$method}($arguments[ 0 ], $arguments[ 1 ], $arguments[ 2 ]);
54 54
             case 4:
55
-                return $request->{$method}($arguments[0], $arguments[1], $arguments[2], $arguments[3], $arguments[4]);
55
+                return $request->{$method}($arguments[ 0 ], $arguments[ 1 ], $arguments[ 2 ], $arguments[ 3 ], $arguments[ 4 ]);
56 56
             default:
57 57
                 return $request->{$method}($arguments);
58 58
         }
Please login to merge, or discard this patch.
src/Adapters/GuzzleHttpAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      * @param array $params
25 25
      * @return string
26 26
      */
27
-    public function get($uri, $params = [])
27
+    public function get($uri, $params = [ ])
28 28
     {
29 29
         if (!empty($params)) {
30 30
             $uri .= '?' . http_build_query($params);
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      */
40 40
     public function post($uri, $body)
41 41
     {
42
-        return $this->client->post($uri, [], $body)->send()->getBody(true);
42
+        return $this->client->post($uri, [ ], $body)->send()->getBody(true);
43 43
     }
44 44
 
45 45
     /**
Please login to merge, or discard this patch.