Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Jun 30, 2023
1 parent 4bf6334 commit 2e04db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Field/Configurator/ChoiceConfigurator.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public function configure(FieldDto $field, EntityDto $entityDto, AdminContext $c
);
}

/** @var TranslatableMessage[] $choiceMessages */
/* @var TranslatableMessage[] $choiceMessages */
$choiceMessages[] = new TranslatableChoiceMessage(
$choiceMessage,

Check failure on line 127 in src/Field/Configurator/ChoiceConfigurator.php

View workflow job for this annotation

GitHub Actions / PHPStan

Parameter #1 $message of class EasyCorp\Bundle\EasyAdminBundle\Translation\TranslatableChoiceMessage constructor expects Symfony\Component\Translation\TranslatableMessage, Symfony\Contracts\Translation\TranslatableInterface given.
$isRenderedAsBadge ? $this->getBadgeCssClass($badgeSelector, $selectedValue, $field) : null
Expand Down

0 comments on commit 2e04db0

Please sign in to comment.