Skip to content

Commit

Permalink
Fix phpstan issues in spiral integration
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Dec 27, 2024
1 parent 45c93e6 commit 3d072c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integrations/spiral/src/Console/ReindexCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ public function __invoke(
EngineRegistry $engineRegistry,
): int {
/** @var \DateTimeImmutable|null $dateTimeBoundary */
$dateTimeBoundary = $this->datetimeBoundary ? new \DateTimeImmutable((string) $this->datetimeBoundary) : null; // @phpstan-ignore-line
$dateTimeBoundary = $this->datetimeBoundary ? new \DateTimeImmutable((string) $this->datetimeBoundary) : null;
/** @var array<string> $identifiers */
$identifiers = \array_filter(\explode(',', (string) $this->identifiers)); // @phpstan-ignore-line
$identifiers = \array_filter(\explode(',', (string) $this->identifiers));

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

0 comments on commit 3d072c2

Please sign in to comment.