Passed
Push — master ( a4037f...e3e9e9 )
by Christopher
01:15
created
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/Provider/ElasticsearchServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -57,23 +57,23 @@
 block discarded – undo
57 57
      */
58 58
     public function register()
59 59
     {
60
-        $this->app->singleton(ElasticsearchIndexContract::class, function () {
60
+        $this->app->singleton(ElasticsearchIndexContract::class, function() {
61 61
             return app()->make(ElasticsearchIndex::class);
62 62
         });
63 63
     
64
-        $this->app->singleton(ElasticsearchAliasContract::class, function () {
64
+        $this->app->singleton(ElasticsearchAliasContract::class, function() {
65 65
             return app()->make(ElasticsearchAlias::class);
66 66
         });
67 67
     
68
-        $this->app->singleton(ElasticsearchDocumentContract::class, function () {
68
+        $this->app->singleton(ElasticsearchDocumentContract::class, function() {
69 69
             return app()->make(ElasticsearchDocument::class);
70 70
         });
71 71
     
72
-        $this->app->singleton(ElasticsearchSearchContract::class, function () {
72
+        $this->app->singleton(ElasticsearchSearchContract::class, function() {
73 73
             return app()->make(ElasticsearchSearch::class);
74 74
         });
75 75
     
76
-        $this->app->singleton(ElasticsearchMappingContract::class, function () {
76
+        $this->app->singleton(ElasticsearchMappingContract::class, function() {
77 77
             return app()->make(ElasticsearchMapping::class);
78 78
         });
79 79
     }
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
@@ -271,7 +271,7 @@
 block discarded – undo
271 271
         $params['type'] = $type;
272 272
         $params['id'] = $id;
273 273
 
274
-        $result = (bool)$this->getElasticsearchClient()->exists($params);
274
+        $result = (bool) $this->getElasticsearchClient()->exists($params);
275 275
 
276 276
         return $result;
277 277
     }
Please login to merge, or discard this patch.
src/Console/Commands/Alias/Create.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,9 +31,9 @@
 block discarded – undo
31 31
      */
32 32
     public function handle(ElasticsearchAliasContract $elasticsearchAlias)
33 33
     {
34
-        $index = (string)$this->argument('index');
35
-        $alias = (string)$this->argument('alias');
36
-        $version = (string)$this->argument('version');
34
+        $index = (string) $this->argument('index');
35
+        $alias = (string) $this->argument('alias');
36
+        $version = (string) $this->argument('version');
37 37
 
38 38
         Log::info("The alias is created.", [
39 39
             'index' => $index,
Please login to merge, or discard this patch.