@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | * @param array $params |
23 | 23 | * @return string |
24 | 24 | */ |
25 | - public function get($uri, $params = []) |
|
25 | + public function get($uri, $params = [ ]) |
|
26 | 26 | { |
27 | 27 | if (!empty($params)) { |
28 | 28 | $uri .= '?' . http_build_query($params); |
@@ -35,10 +35,10 @@ discard block |
||
35 | 35 | * @param array $body |
36 | 36 | * @return string |
37 | 37 | */ |
38 | - public function post($uri, $body = []) |
|
38 | + public function post($uri, $body = [ ]) |
|
39 | 39 | { |
40 | 40 | return $this->client |
41 | - ->post($uri, [], $body) |
|
41 | + ->post($uri, [ ], $body) |
|
42 | 42 | ->send() |
43 | 43 | ->getBody(true); |
44 | 44 | } |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | */ |
34 | 34 | public static function getAllowedMethods() |
35 | 35 | { |
36 | - return []; |
|
36 | + return [ ]; |
|
37 | 37 | } |
38 | 38 | |
39 | 39 | /** |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | * @param array $params |
57 | 57 | * @return array|null |
58 | 58 | */ |
59 | - public function exec($action, $params = []) |
|
59 | + public function exec($action, $params = [ ]) |
|
60 | 60 | { |
61 | 61 | $endPoint = $this->makeEndPoint($action); |
62 | 62 | $requestBody = $this->createRequestBody($params); |