@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | */ |
| 33 | 33 | public function getApi() |
| 34 | 34 | { |
| 35 | - if (! $this->api) { |
|
| 35 | + if (!$this->api) { |
|
| 36 | 36 | $this->api = config('novaposhta.api_key'); |
| 37 | 37 | } |
| 38 | 38 | |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | $answer = $answer[0]; |
| 96 | 96 | } |
| 97 | 97 | |
| 98 | - if (! isset($answer['success']) || ! isset($answer['data']) || empty($answer['data'])) { |
|
| 98 | + if (!isset($answer['success']) || !isset($answer['data']) || empty($answer['data'])) { |
|
| 99 | 99 | // что-то не так в ответе |
| 100 | 100 | $info = trans('novaposhta::novaposhta.error_answer'); |
| 101 | 101 | $success = false; |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | } |
| 122 | 122 | } |
| 123 | 123 | |
| 124 | - if (! $info && isset($answer['info'])) { |
|
| 124 | + if (!$info && isset($answer['info'])) { |
|
| 125 | 125 | $info = $answer['info']; |
| 126 | 126 | } |
| 127 | 127 | |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | if ($this->dev) { |
| 135 | 135 | //test and dev |
| 136 | 136 | Log::debug('= = = = = = = = = = = = = = = = = = = ='); |
| 137 | - Log::debug($model . ' / ' . $calledMethod . ' // apiKey: ' . $auth); |
|
| 137 | + Log::debug($model.' / '.$calledMethod.' // apiKey: '.$auth); |
|
| 138 | 138 | Log::debug('--------------------'); |
| 139 | 139 | Log::notice($methodProperties); |
| 140 | 140 | |