diff --git a/Form/DataTransformer/EntityToPropertyTransformer.php b/Form/DataTransformer/EntityToPropertyTransformer.php index 56e77df..7b56171 100644 --- a/Form/DataTransformer/EntityToPropertyTransformer.php +++ b/Form/DataTransformer/EntityToPropertyTransformer.php @@ -35,7 +35,7 @@ public function __construct(ObjectManager $em, string $class, ?string $textPrope /** * Transform entity to array */ - public function transform(mixed $value): mixed + public function transform(mixed $entity): mixed { $data = array(); if (empty($entity)) {