Completed
Branch master (6926d3)
by Christopher
05:53 queued 03:36
created
Category
src/Provider/ElasticsearchServiceProvider.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -59,27 +59,27 @@
 block discarded – undo
59 59
      */
60 60
     public function register()
61 61
     {
62
-        $this->app->singleton(ElasticsearchClientContract::class, function () {
62
+        $this->app->singleton(ElasticsearchClientContract::class, function() {
63 63
             return app()->make(ElasticsearchClient::class);
64 64
         });
65 65
     
66
-        $this->app->singleton(ElasticsearchIndexContract::class, function () {
66
+        $this->app->singleton(ElasticsearchIndexContract::class, function() {
67 67
             return app()->make(ElasticsearchIndex::class);
68 68
         });
69 69
     
70
-        $this->app->singleton(ElasticsearchAliasContract::class, function () {
70
+        $this->app->singleton(ElasticsearchAliasContract::class, function() {
71 71
             return app()->make(ElasticsearchAlias::class);
72 72
         });
73 73
     
74
-        $this->app->singleton(ElasticsearchDocumentContract::class, function () {
74
+        $this->app->singleton(ElasticsearchDocumentContract::class, function() {
75 75
             return app()->make(ElasticsearchDocument::class);
76 76
         });
77 77
     
78
-        $this->app->singleton(ElasticsearchSearchContract::class, function () {
78
+        $this->app->singleton(ElasticsearchSearchContract::class, function() {
79 79
             return app()->make(ElasticsearchSearch::class);
80 80
         });
81 81
     
82
-        $this->app->singleton(ElasticsearchMappingContract::class, function () {
82
+        $this->app->singleton(ElasticsearchMappingContract::class, function() {
83 83
             return app()->make(ElasticsearchMapping::class);
84 84
         });
85 85
     }
Please login to merge, or discard this patch.
src/Console/Commands/Migration/Deploy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         $version = $this->getDeployVersions();
39 39
 
40 40
         $index = $this->argument('index');
41
-        $migrateData = (bool)$this->argument('migrate_data');
41
+        $migrateData = (bool) $this->argument('migrate_data');
42 42
 
43 43
         if (array_key_exists($index, $version['indices'])) {
44 44
             $from_version = $version['indices'][$index]['from'];
Please login to merge, or discard this patch.
src/ElasticsearchDocument.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -289,7 +289,7 @@
 block discarded – undo
289 289
         $params['type'] = $type;
290 290
         $params['id'] = $id;
291 291
 
292
-        $result = (bool)$this->client->exists($params);
292
+        $result = (bool) $this->client->exists($params);
293 293
 
294 294
         return $result;
295 295
     }
Please login to merge, or discard this patch.