| @@ -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 | |
| @@ -99,8 +99,8 @@ discard block | ||
| 99 | 99 | } | 
| 100 | 100 | |
| 101 | 101 | if ( | 
| 102 | - ! isset($answer['success']) || | |
| 103 | - ! isset($answer['data']) || | |
| 102 | + !isset($answer['success']) || | |
| 103 | + !isset($answer['data']) || | |
| 104 | 104 | empty($answer['data']) | 
| 105 | 105 |          ) { | 
| 106 | 106 | /** | 
| @@ -132,7 +132,7 @@ discard block | ||
| 132 | 132 | } | 
| 133 | 133 | |
| 134 | 134 | if ( | 
| 135 | - ! $info && | |
| 135 | + !$info && | |
| 136 | 136 | isset($answer['info']) && | 
| 137 | 137 | $answer['info'] | 
| 138 | 138 |          ) { | 
| @@ -153,7 +153,7 @@ discard block | ||
| 153 | 153 | Log::debug($model.' / '.$calledMethod.' // apiKey: '.$auth); | 
| 154 | 154 |              Log::debug('--------------------'); | 
| 155 | 155 | |
| 156 | -            if (! empty($methodProperties)) { | |
| 156 | +            if (!empty($methodProperties)) { | |
| 157 | 157 |                  try { | 
| 158 | 158 | Log::notice(json_encode($methodProperties)); | 
| 159 | 159 |                  } catch (Exception $e) { | 
| @@ -18,7 +18,7 @@ discard block | ||
| 18 | 18 | ], 'config'); | 
| 19 | 19 | |
| 20 | 20 | $this->publishes([ | 
| 21 | - __DIR__.'/../resources/lang' => $this->app['path.lang'] . '/vendor/novaposhta', | |
| 21 | + __DIR__.'/../resources/lang' => $this->app['path.lang'].'/vendor/novaposhta', | |
| 22 | 22 | ]); | 
| 23 | 23 | |
| 24 | 24 | $this->loadTranslationsFrom(__DIR__.'/../resources/lang/', 'novaposhta'); | 
| @@ -33,7 +33,7 @@ discard block | ||
| 33 | 33 |      { | 
| 34 | 34 | $this->mergeConfigFrom(__DIR__.'/../config/novaposhta.php', 'novaposhta'); | 
| 35 | 35 | |
| 36 | -        $this->app->singleton('novaposhta', function () { | |
| 36 | +        $this->app->singleton('novaposhta', function() { | |
| 37 | 37 | return $this->app->make(NovaPoshta::class); | 
| 38 | 38 | }); | 
| 39 | 39 | |