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 e177b95 commit 1ad7d7fCopy full SHA for 1ad7d7f
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