@@ -30,11 +30,11 @@ |
||
| 30 | 30 | __DIR__.'/../../config/yandex-speller.php', 'yandex-speller' |
| 31 | 31 | ); |
| 32 | 32 | |
| 33 | - $this->app->singleton('yandex-speller', function () { |
|
| 33 | + $this->app->singleton('yandex-speller', function() { |
|
| 34 | 34 | return new YandexSpeller(); |
| 35 | 35 | }); |
| 36 | 36 | |
| 37 | - $this->app->bind(YandexSpeller::class, function () { |
|
| 37 | + $this->app->bind(YandexSpeller::class, function() { |
|
| 38 | 38 | return new YandexSpeller(); |
| 39 | 39 | }); |
| 40 | 40 | } |
@@ -89,7 +89,7 @@ |
||
| 89 | 89 | protected function buildQueryParams(): array |
| 90 | 90 | { |
| 91 | 91 | foreach ($this->queryOptions as $option) { |
| 92 | - $this->query[$option] = $this->{$option} ?: config('yandex-speller.' . $option); |
|
| 92 | + $this->query[$option] = $this->{$option} ?: config('yandex-speller.'.$option); |
|
| 93 | 93 | } |
| 94 | 94 | |
| 95 | 95 | return $this->query; |