We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b12784b commit 25c6f22Copy full SHA for 25c6f22
src/ElasticsearchServiceProvider.php
@@ -7,6 +7,7 @@
7
use Illuminate\Contracts\Container\BindingResolutionException;
8
use Illuminate\Support\ServiceProvider;
9
use Laravel\Scout\EngineManager;
10
+use Illuminate\Support\Str;
11
use Basemkhirat\Elasticsearch\Commands\ListIndicesCommand;
12
use Basemkhirat\Elasticsearch\Commands\CreateIndexCommand;
13
use Basemkhirat\Elasticsearch\Commands\DropIndexCommand;
@@ -46,7 +47,7 @@ public function boot()
46
47
48
// Auto configuration with lumen framework.
49
- if (str_contains($this->app->version(), 'Lumen')) {
50
+ if (Str::contains($this->app->version(), 'Lumen')) {
51
$this->app->configure("es");
52
}
53
0 commit comments