diff --git a/book/doctrine.rst b/book/doctrine.rst index 033a72447a9..6a628e85576 100644 --- a/book/doctrine.rst +++ b/book/doctrine.rst @@ -272,8 +272,8 @@ in a number of different formats including YAML, XML or directly inside the class Product { /** - * @ORM\Id * @ORM\Column(type="integer") + * @ORM\Id * @ORM\GeneratedValue(strategy="AUTO") */ protected $id;