From 7cf4074d3a493ad882d1fef23e8019a07f77c51a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Wed, 26 Oct 2022 10:42:42 +0200 Subject: [PATCH] Migrate more references to annotations (#10176) --- docs/en/tutorials/ordered-associations.rst | 2 +- lib/Doctrine/ORM/Events.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/tutorials/ordered-associations.rst b/docs/en/tutorials/ordered-associations.rst index 4a5183e19f8..9e414e0680e 100644 --- a/docs/en/tutorials/ordered-associations.rst +++ b/docs/en/tutorials/ordered-associations.rst @@ -76,7 +76,7 @@ The DQL Snippet in OrderBy is only allowed to consist of unqualified, unquoted field names and of an optional ASC/DESC positional statement. Multiple Fields are separated by a comma (,). The referenced field names have to exist on the ``targetEntity`` -class of the ``#[ManyToMany]`` or ``#[OneToMany]`` annotation. +class of the ``#[ManyToMany]`` or ``#[OneToMany]`` attribute. The semantics of this feature can be described as follows: diff --git a/lib/Doctrine/ORM/Events.php b/lib/Doctrine/ORM/Events.php index d2339e97f81..e23093fccce 100644 --- a/lib/Doctrine/ORM/Events.php +++ b/lib/Doctrine/ORM/Events.php @@ -82,7 +82,7 @@ private function __construct() /** * The loadClassMetadata event occurs after the mapping metadata for a class - * has been loaded from a mapping source (annotations/xml/yaml). + * has been loaded from a mapping source (attributes/xml/yaml). */ public const loadClassMetadata = 'loadClassMetadata';