|
@@ -29,7 +29,7 @@ |
|
|
block discarded – undo |
|
29
|
29
|
/** @noinspection PhpUndefinedMethodInspection */ |
|
30
|
30
|
$config = $this->app['config']->get('elasticsearch', []); |
|
31
|
31
|
|
|
32
|
|
- $this->app->/** @scrutinizer ignore-call */ singleton(ElasticsearchServiceContract::class, function () use ($config) { |
|
|
32
|
+ $this->app->/** @scrutinizer ignore-call */ singleton(ElasticsearchServiceContract::class, function() use ($config) { |
|
33
|
33
|
return new ElasticsearchService(ClientBuilder::fromConfig($config)); |
|
34
|
34
|
}); |
|
35
|
35
|
} |
Please login to merge, or discard this patch.