|
13 | 13 | use FOS\ElasticaBundle\Provider\ProviderInterface; |
14 | 14 |
|
15 | 15 | /** |
16 | | - * Populate the search index |
| 16 | + * Populate the search index. |
17 | 17 | */ |
18 | 18 | class PopulateCommand extends ContainerAwareCommand |
19 | 19 | { |
@@ -118,7 +118,7 @@ private function populateIndex(OutputInterface $output, $index, $reset, $options |
118 | 118 | $providers = $this->providerRegistry->getIndexProviders($index); |
119 | 119 |
|
120 | 120 | foreach ($providers as $type => $provider) { |
121 | | - $loggerClosure = function($message) use ($output, $index, $type) { |
| 121 | + $loggerClosure = function ($message) use ($output, $index, $type) { |
122 | 122 | $output->writeln(sprintf('<info>Populating</info> %s/%s, %s', $index, $type, $message)); |
123 | 123 | }; |
124 | 124 |
|
@@ -146,7 +146,7 @@ private function populateIndexType(OutputInterface $output, $index, $type, $rese |
146 | 146 | $this->resetter->resetIndexType($index, $type); |
147 | 147 | } |
148 | 148 |
|
149 | | - $loggerClosure = function($message) use ($output, $index, $type) { |
| 149 | + $loggerClosure = function ($message) use ($output, $index, $type) { |
150 | 150 | $output->writeln(sprintf('<info>Populating</info> %s/%s, %s', $index, $type, $message)); |
151 | 151 | }; |
152 | 152 |
|
|
0 commit comments