Skip to content

Commit

Permalink
fix stan
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Dec 29, 2021
1 parent c169b5b commit fba60db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/UserAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function getActionForEntity(Model $entity): self
$entity->assertIsEntity($owner);
foreach ($owner->getUserActions() as $name => $action) {
if ($action === $this) {
return $entity->getUserAction($name);
return $entity->getUserAction($name); // @phpstan-ignore-line
}
}

Expand Down

0 comments on commit fba60db

Please sign in to comment.