Passed
Push — master ( 3b52b9...29241c )
by Arun
02:07
created
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.
src/ElasticSearchServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
             __DIR__ . '/config/elasticsearch.php' => config_path('elasticsearch.php'),
44 44
         ]);
45 45
 
46
-        resolve(EngineManager::class)->extend('elasticsearch', function () {
46
+        resolve(EngineManager::class)->extend('elasticsearch', function() {
47 47
             return new ElasticSearchEngine(
48 48
                 ElasticSearchBuilder::create()->setHosts(Config::get('elasticsearch.hosts'))->build(),
49 49
                 Config::get('elasticsearch.index')
Please login to merge, or discard this patch.