Skip to content

Commit 3dd1167

Browse files
committed
bug #8824 Update entity.rst (apiotrowski)
This PR was merged into the 4.0 branch. Discussion ---------- Update entity.rst Commits ------- 1ad7d7f Update entity.rst
2 parents e177b95 + 1ad7d7f commit 3dd1167

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)