@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | private $key; |
10 | 10 | private $isTest = false; |
11 | 11 | |
12 | - public function __construct($params=[]) |
|
12 | + public function __construct($params = []) |
|
13 | 13 | { |
14 | 14 | if (isset($params['test'])) { |
15 | 15 | $this->isTest = $params['test']; |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | return $this->_request($url, $options); |
93 | 93 | } |
94 | 94 | |
95 | - private function _request($suffix, $options=[], $method='get') |
|
95 | + private function _request($suffix, $options = [], $method = 'get') |
|
96 | 96 | { |
97 | 97 | if ($this->key) { |
98 | 98 | $options['key'] = $this->key; |