@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | */ |
| 34 | 34 | public function getApi(): string |
| 35 | 35 | { |
| 36 | - if (! $this->api) { |
|
| 36 | + if (!$this->api) { |
|
| 37 | 37 | $this->api = config('novaposhta.api_key'); |
| 38 | 38 | } |
| 39 | 39 | |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | $answer = $answer[0]; |
| 97 | 97 | } |
| 98 | 98 | |
| 99 | - if (! isset($answer['success']) || ! isset($answer['data']) || empty($answer['data'])) { |
|
| 99 | + if (!isset($answer['success']) || !isset($answer['data']) || empty($answer['data'])) { |
|
| 100 | 100 | /** |
| 101 | 101 | * Что-то не так в ответе. |
| 102 | 102 | */ |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | } |
| 126 | 126 | } |
| 127 | 127 | |
| 128 | - if (! $info && isset($answer['info']) && $answer['info']) { |
|
| 128 | + if (!$info && isset($answer['info']) && $answer['info']) { |
|
| 129 | 129 | $info['info'] = $answer['info']; |
| 130 | 130 | } |
| 131 | 131 | |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | Log::debug($model.' / '.$calledMethod.' // apiKey: '.$auth); |
| 144 | 144 | Log::debug('--------------------'); |
| 145 | 145 | |
| 146 | - if (! empty($methodProperties)) { |
|
| 146 | + if (!empty($methodProperties)) { |
|
| 147 | 147 | try { |
| 148 | 148 | Log::notice(json_encode($methodProperties)); |
| 149 | 149 | } catch (Exception $e) { |