We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd9a614 commit 6e4509cCopy full SHA for 6e4509c
reference/forms/types/entity.rst
@@ -63,7 +63,7 @@ be listed inside the choice field::
63
64
$builder->add('users', EntityType::class, array(
65
// query choices from this entity
66
- 'class' => User:class,
+ 'class' => User::class,
67
68
// use the User.username property as the visible option string
69
'choice_label' => 'username',
0 commit comments