From f48fc4bd7f75eb44bb389ea8b3c14340d2e7be31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20L=C3=A9v=C3=AAque?= Date: Fri, 29 Nov 2024 12:47:58 +0100 Subject: [PATCH] Update EntityToPropertyTransformer.php --- Form/DataTransformer/EntityToPropertyTransformer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {