From f0bb2dc7798732b8636f7375e6739f6f83e7ee1b Mon Sep 17 00:00:00 2001 From: Uri Goldshtein Date: Thu, 19 Sep 2013 15:18:19 +0200 Subject: [PATCH] Change order of annotations to be the same as the gengerator | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | doctrine | Fixed tickets | --- book/doctrine.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;