@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | */ |
| 43 | 43 | public function getApi(): string |
| 44 | 44 | { |
| 45 | - if (! $this->api) { |
|
| 45 | + if (!$this->api) { |
|
| 46 | 46 | $this->api = config('novaposhta.api_key'); |
| 47 | 47 | } |
| 48 | 48 | |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | ): array { |
| 78 | 78 | $url = $this->url.'/'.$model.'/'.$calledMethod; |
| 79 | 79 | |
| 80 | - $body= []; |
|
| 80 | + $body = []; |
|
| 81 | 81 | $body['modelName'] = $model; |
| 82 | 82 | $body['calledMethod'] = $calledMethod; |
| 83 | 83 | $body['methodProperties'] = $methodProperties; |
@@ -195,10 +195,10 @@ discard block |
||
| 195 | 195 | ): void |
| 196 | 196 | { |
| 197 | 197 | Log::debug('= = = = = = = = = = = = = = = = = = = ='); |
| 198 | - Log::debug($model.' / '.$calledMethod.' // apiKey: '. (int) $auth); |
|
| 198 | + Log::debug($model.' / '.$calledMethod.' // apiKey: '.(int) $auth); |
|
| 199 | 199 | Log::debug('--------------------'); |
| 200 | 200 | |
| 201 | - if (! empty($methodProperties)) { |
|
| 201 | + if (!empty($methodProperties)) { |
|
| 202 | 202 | try { |
| 203 | 203 | Log::notice(json_encode($methodProperties)); |
| 204 | 204 | } catch (Exception $e) { |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | /** |
| 56 | 56 | * Если значения пустые - вставляем насильно |
| 57 | 57 | */ |
| 58 | - if (! $this->limit) { |
|
| 58 | + if (!$this->limit) { |
|
| 59 | 59 | $this->methodProperties['Limit'] = config('novaposhta.page_limit'); |
| 60 | 60 | } |
| 61 | 61 | |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | /** |
| 94 | 94 | * Если значения пустые - вставляем насильно |
| 95 | 95 | */ |
| 96 | - if (! $this->limit) { |
|
| 96 | + if (!$this->limit) { |
|
| 97 | 97 | $this->methodProperties['Limit'] = config('novaposhta.page_limit'); |
| 98 | 98 | } |
| 99 | 99 | |