Completed
Push — master ( c0d04f...293200 )
by Sergey
03:00 queued 47s
created
src/Adapters/GuzzleHttpAdapter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,10 +23,10 @@  discard block
 block discarded – undo
23 23
      * @param array $params
24 24
      * @return array
25 25
      */
26
-    public function get($uri, $params = [])
26
+    public function get($uri, $params = [ ])
27 27
     {
28
-        if(!empty($params)){
29
-            $uri .= '?'. http_build_query($params);
28
+        if (!empty($params)) {
29
+            $uri .= '?' . http_build_query($params);
30 30
         }
31 31
         $response = $this
32 32
             ->client
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     {
46 46
         $response = $this
47 47
             ->client
48
-            ->post($uri, [], $body)
48
+            ->post($uri, [ ], $body)
49 49
             ->send();
50 50
         return $this->parseResponse($response);
51 51
     }
Please login to merge, or discard this patch.
src/Contracts/HttpInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
      * @param array $params
10 10
      * @return array
11 11
      */
12
-    public function get($uri, $params = []);
12
+    public function get($uri, $params = [ ]);
13 13
 
14 14
     /**
15 15
      * @param $uri
Please login to merge, or discard this patch.