Skip to content

Commit

Permalink
Update EntityToPropertyTransformer.php
Browse files Browse the repository at this point in the history
  • Loading branch information
SebLevDev authored Nov 29, 2024
1 parent 2aff16f commit f48fc4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Form/DataTransformer/EntityToPropertyTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit f48fc4b

Please sign in to comment.