Skip to content

Commit f48fc4b

Browse files
authored
Update EntityToPropertyTransformer.php
1 parent 2aff16f commit f48fc4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Form/DataTransformer/EntityToPropertyTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function __construct(ObjectManager $em, string $class, ?string $textPrope
3535
/**
3636
* Transform entity to array
3737
*/
38-
public function transform(mixed $value): mixed
38+
public function transform(mixed $entity): mixed
3939
{
4040
$data = array();
4141
if (empty($entity)) {

0 commit comments

Comments
 (0)