@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | /** |
| 65 | 65 | * @param \Symfony\Component\Console\Input\InputInterface $input |
| 66 | 66 | * @param \Symfony\Component\Console\Output\OutputInterface $output |
| 67 | - * @param $helper |
|
| 67 | + * @param \Symfony\Component\Console\Helper\HelperInterface $helper |
|
| 68 | 68 | * @param $indexName |
| 69 | 69 | * @return bool |
| 70 | 70 | */ |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | /** |
| 83 | 83 | * @param \Symfony\Component\Console\Input\InputInterface $input |
| 84 | 84 | * @param \Symfony\Component\Console\Output\OutputInterface $output |
| 85 | - * @param $helper |
|
| 85 | + * @param \Symfony\Component\Console\Helper\HelperInterface $helper |
|
| 86 | 86 | * @return bool |
| 87 | 87 | */ |
| 88 | 88 | private function compareConfiguration(InputInterface $input, OutputInterface $output, $helper, $indexName) |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | namespace T3G\Elasticorn\Commands\Index; |
| 4 | 4 | |
| 5 | 5 | |
@@ -31,7 +31,6 @@ |
||
| 31 | 31 | * ConfigurationParser constructor. |
| 32 | 32 | * |
| 33 | 33 | * @param \Psr\Log\LoggerInterface $logger |
| 34 | - * @param string $configPath |
|
| 35 | 34 | */ |
| 36 | 35 | public function __construct(LoggerInterface $logger) |
| 37 | 36 | { |
@@ -59,8 +59,8 @@ |
||
| 59 | 59 | $index = $this->client->getIndex($this->indexName . '_' . $language); |
| 60 | 60 | $this->logger->info('Removing documents of type ' . $this->typeName . ' from index ' . $index); |
| 61 | 61 | $index->getType($this->typeName)->deleteByQuery( |
| 62 | - new Query\MatchAll() |
|
| 63 | - ); |
|
| 62 | + new Query\MatchAll() |
|
| 63 | + ); |
|
| 64 | 64 | $index->refresh(); |
| 65 | 65 | } |
| 66 | 66 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | namespace T3G\Elasticorn\Configuration; |
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\Yaml\Yaml; |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | namespace T3G\Elasticorn\Commands\Index; |
| 4 | 4 | |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | namespace T3G\Elasticorn\Commands\Self; |
| 4 | 4 | |
| 5 | 5 | use Humbug\SelfUpdate\Updater; |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | namespace T3G\Elasticorn\Commands\Mapping; |
| 4 | 4 | |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | namespace T3G\Elasticorn\Commands\Mapping; |
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\Console\Input\InputArgument; |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | namespace T3G\Elasticorn\Bootstrap; |
| 4 | 4 | |
| 5 | 5 | use Elastica\Client; |