Skip to content

Commit

Permalink
OP-352 - Fix builds, add ignore next line in phpDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
SzymonKostrubiec committed Jul 16, 2024
1 parent b4ff457 commit e034d62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventListener/ResourceIndexListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function updateIndex(GenericEvent $event): void
}

if ($resource instanceof $config[self::MODEL_KEY]) {
/** @var ResourceInterface $resource */
/** @phpstan-ignore-next-line refresh method needs ResourceInterface but ECS doesn't see $resource variable in method. */
$this->resourceRefresher->refresh($resource, $config[self::SERVICE_ID_KEY]);
}

Expand Down

0 comments on commit e034d62

Please sign in to comment.