@@ -44,6 +44,6 @@ |
||
| 44 | 44 | $payload = new CreateMigrationPayload($configurationPath); |
| 45 | 45 | $pipeline->process($payload); |
| 46 | 46 | |
| 47 | - $this->output->writeln('Created ' . $payload->getVersionName()); |
|
| 47 | + $this->output->writeln('Created '.$payload->getVersionName()); |
|
| 48 | 48 | } |
| 49 | 49 | } |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | $configuration = $payload->getConfiguration(); |
| 27 | 27 | $configuration['index'] = $payload->getIndexVersionName(); |
| 28 | 28 | |
| 29 | - file_put_contents($versionPath, '<?php return ' . var_export($configuration, true) . ";\n"); |
|
| 29 | + file_put_contents($versionPath, '<?php return '.var_export($configuration, true).";\n"); |
|
| 30 | 30 | |
| 31 | 31 | return $payload; |
| 32 | 32 | } |
@@ -83,7 +83,7 @@ |
||
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | $action->setAction(BulkAction::ACTION_INDEX, $meta) |
| 86 | - ->setBody($this->getItemBody($item)); |
|
| 86 | + ->setBody($this->getItemBody($item)); |
|
| 87 | 87 | |
| 88 | 88 | $bulkQuery->addAction($action); |
| 89 | 89 | |
@@ -29,7 +29,7 @@ |
||
| 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 | } |