Skip to content

Commit

Permalink
Make sure identifiers are empty
Browse files Browse the repository at this point in the history
  • Loading branch information
Toflar committed Dec 19, 2024
1 parent 4f765ab commit 3e4ff54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integrations/symfony/src/Command/ReindexCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
/** @var \DateTimeImmutable|null $dateTimeBoundary */
$dateTimeBoundary = $input->getOption('datetime-boundary') ? new \DateTimeImmutable((string) $input->getOption('datetime-boundary')) : null; // @phpstan-ignore-line
/** @var array<string> $identifiers */
$identifiers = \explode(',', (string) $input->getOption('identifiers')); // @phpstan-ignore-line
$identifiers = array_filter(\explode(',', (string) $input->getOption('identifiers'))); // @phpstan-ignore-line

$reindexConfig = ReindexConfig::create()
->withIndex($indexName)
Expand Down

0 comments on commit 3e4ff54

Please sign in to comment.