@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | $this->point = config('novaposhta.point'); |
| 27 | 27 | $this->dev = config('novaposhta.dev'); |
| 28 | 28 | $this->getApi(); |
| 29 | - $this->url = $this->baseUri . $this->point; |
|
| 29 | + $this->url = $this->baseUri.$this->point; |
|
| 30 | 30 | } |
| 31 | 31 | |
| 32 | 32 | |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | */ |
| 64 | 64 | public function getResponse(string $model, string $calledMethod, ?array $methodProperties, bool $auth = true): array |
| 65 | 65 | { |
| 66 | - $url = $this->url . '/' . $model . '/' . $calledMethod; |
|
| 66 | + $url = $this->url.'/'.$model.'/'.$calledMethod; |
|
| 67 | 67 | $body = []; |
| 68 | 68 | $info = ''; |
| 69 | 69 | |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | |
| 125 | 125 | foreach ($answer['errorCodes'] as $err) { |
| 126 | 126 | $info['StatusCode'] = $err; |
| 127 | - $info['StatusLocale'] = __('novaposhta::novaposhta.statusCode.' . $err); |
|
| 127 | + $info['StatusLocale'] = __('novaposhta::novaposhta.statusCode.'.$err); |
|
| 128 | 128 | } |
| 129 | 129 | } |
| 130 | 130 | } |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | * Test and Dev. |
| 146 | 146 | */ |
| 147 | 147 | Log::debug('= = = = = = = = = = = = = = = = = = = ='); |
| 148 | - Log::debug($model . ' / ' . $calledMethod . ' // apiKey: ' . $auth); |
|
| 148 | + Log::debug($model.' / '.$calledMethod.' // apiKey: '.$auth); |
|
| 149 | 149 | Log::debug('--------------------'); |
| 150 | 150 | |
| 151 | 151 | try { |