From 6c0c7c7bc5f79a8387254c19b4f260809aebfb34 Mon Sep 17 00:00:00 2001 From: Mathieu Santostefano Date: Mon, 4 Dec 2017 16:04:39 +0100 Subject: [PATCH] Fix typo on EntityType doc --- reference/forms/types/entity.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/forms/types/entity.rst b/reference/forms/types/entity.rst index 6945ee1b4e3..75d6597ffed 100644 --- a/reference/forms/types/entity.rst +++ b/reference/forms/types/entity.rst @@ -63,7 +63,7 @@ be listed inside the choice field:: $builder->add('users', EntityType::class, array( // query choices from this entity - 'class' => User:class, + 'class' => User::class, // use the User.username property as the visible option string 'choice_label' => 'username',