@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | */ |
| 33 | 33 | public function getApi():string |
| 34 | 34 | { |
| 35 | - if (! $this->api) { |
|
| 35 | + if (!$this->api) { |
|
| 36 | 36 | $this->api = config('novaposhta.api_key'); |
| 37 | 37 | } |
| 38 | 38 | |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | $answer = $answer[0]; |
| 93 | 93 | } |
| 94 | 94 | |
| 95 | - if (! isset($answer['success']) || ! isset($answer['data']) || empty($answer['data'])) { |
|
| 95 | + if (!isset($answer['success']) || !isset($answer['data']) || empty($answer['data'])) { |
|
| 96 | 96 | // что-то не так в ответе |
| 97 | 97 | $info = trans('novaposhta::novaposhta.error_answer'); |
| 98 | 98 | $success = false; |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | } |
| 119 | 119 | } |
| 120 | 120 | |
| 121 | - if (! $info && isset($answer['info'])) { |
|
| 121 | + if (!$info && isset($answer['info'])) { |
|
| 122 | 122 | $info = $answer['info']; |
| 123 | 123 | } |
| 124 | 124 | |