Passed
Push — master ( fbfe14...1bd73e )
by Andrey
09:16 queued 06:17
created
src/NovaPoshta.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public function getApi(): void
43 43
     {
44
-        if (! $this->api) {
44
+        if (!$this->api) {
45 45
             $this->api = config('novaposhta.api_key');
46 46
         }
47 47
     }
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
         $response = $this->getData($auth);
124 124
 
125 125
         // Ошибка курла
126
-        if (! ($response instanceof ClientResponse)) {
126
+        if (!($response instanceof ClientResponse)) {
127 127
             $this->return['info']['error'] = $response;
128 128
             $this->return['info']['StatusCode'] = '20000100016'; // Сервис не доступен
129 129
             $this->return['info']['StatusLocale'] = __('novaposhta::novaposhta.error_data');
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
         Log::debug($this->model.' / '.$this->calledMethod.' // apiKey: '.(int) $auth);
242 242
         Log::debug('--------------------');
243 243
 
244
-        if (! empty($this->methodProperties)) {
244
+        if (!empty($this->methodProperties)) {
245 245
             try {
246 246
                 Log::notice(json_encode($this->methodProperties));
247 247
             } catch (Exception $e) {
Please login to merge, or discard this patch.