From 4e572c0f05c4006ed71f0a7c564da5f828fa1a50 Mon Sep 17 00:00:00 2001 From: Samuel NELA Date: Fri, 8 Nov 2024 00:41:14 +0100 Subject: [PATCH] docs: fix page for CustomIdGenerator attribute --- docs/en/custom-id-generators.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/en/custom-id-generators.rst b/docs/en/custom-id-generators.rst index 11de3d76..f107644e 100644 --- a/docs/en/custom-id-generators.rst +++ b/docs/en/custom-id-generators.rst @@ -23,9 +23,7 @@ are provided: ``doctrine.ulid_generator`` to generate ULIDs, and use Doctrine\ORM\Mapping as ORM; - /** - * @ORM\Entity - */ + #[ORM\Entity] class User { #[ORM\Id] @@ -38,5 +36,5 @@ are provided: ``doctrine.ulid_generator`` to generate ULIDs, and } See also -https://www.doctrine-project.org/projects/doctrine-orm/en/2.8/reference/annotations-reference.html#annref_customidgenerator +https://www.doctrine-project.org/projects/doctrine-orm/en/3.3/reference/attributes-reference.html#attrref_customidgenerator for more info about custom ID generators.