Skip to content

Commit 1ad7d7f

Browse files
authored
Update entity.rst
1 parent e177b95 commit 1ad7d7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/forms/types/entity.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ be listed inside the choice field::
6363

6464
$builder->add('users', EntityType::class, array(
6565
// query choices from this entity
66-
'class' => User:class,
66+
'class' => User::class,
6767

6868
// use the User.username property as the visible option string
6969
'choice_label' => 'username',

0 commit comments

Comments
 (0)