@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | * |
| 65 | 65 | * @access public |
| 66 | 66 | */ |
| 67 | - public function __construct(array $config = []) |
|
| 67 | + public function __construct(array $config = [ ]) |
|
| 68 | 68 | { |
| 69 | 69 | $defaultConfig = [ |
| 70 | 70 | 'apiUrl' => 'https://reguler.zenziva.net/apps/', |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | * @return mixed |
| 144 | 144 | * @throws \O2System\Spl\Exceptions\Logic\BadFunctionCall\BadPhpExtensionCallException |
| 145 | 145 | */ |
| 146 | - protected function request($path, $params = [], $type = 'GET') |
|
| 146 | + protected function request($path, $params = [ ], $type = 'GET') |
|
| 147 | 147 | { |
| 148 | 148 | // default params |
| 149 | 149 | if (empty($this->config[ 'apiUrl' ])) { |