Test Setup Failed
Branch main (9afa92)
by Ricards
09:10
created
Category
src/Providers/YandexSpellerServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,11 +30,11 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/YandexSpeller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.