diff --git a/reference/constraints/Choice.rst b/reference/constraints/Choice.rst index 215baab84dc..d23382200eb 100644 --- a/reference/constraints/Choice.rst +++ b/reference/constraints/Choice.rst @@ -261,7 +261,7 @@ you can pass the class name and the method as an array. .. code-block:: php - // src/AppBundle/EntityAuthor.php + // src/AppBundle/Entity/Author.php namespace AppBundle\Entity; use Symfony\Component\Validator\Mapping\ClassMetadata;