Completed
Branch master (1e2591)
by Arun
03:40
created
Category
src/ElasticSearchServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
             __DIR__ . '/config/elasticsearch.php' => config_path('elasticsearch.php'),
42 42
         ]);
43 43
 
44
-        resolve(EngineManager::class)->extend('elasticsearch', function () {
44
+        resolve(EngineManager::class)->extend('elasticsearch', function() {
45 45
             return new ElasticSearchEngine(
46 46
                 ElasticSearchBuilder::create()->setHosts(config('elasticsearch.hosts'))->build(),
47 47
                 config('elasticsearch.index')
Please login to merge, or discard this patch.
src/ElasticSearchEngine.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     public function update($models)
54 54
     {
55 55
         $params = [];
56
-        $models->each(function ($model) use (&$params) {
56
+        $models->each(function($model) use (&$params) {
57 57
             $params['body'][] = [
58 58
                 'index' => [
59 59
                     '_index' => $this->index,
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     public function delete($models)
77 77
     {
78 78
         $params = [];
79
-        $models->each(function ($model) use (&$params) {
79
+        $models->each(function($model) use (&$params) {
80 80
             $params['body'][] = [
81 81
                 'delete' => [
82 82
                     '_index' => $this->index,
Please login to merge, or discard this patch.