From d5f87e7338ae99f209ba145d02e3a2d8f6871823 Mon Sep 17 00:00:00 2001 From: Niels Keurentjes Date: Mon, 6 Jan 2025 16:21:16 +0100 Subject: [PATCH] Fix type hint on OrderBy attribute ORM2 version of #11779 --- src/Mapping/OrderBy.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Mapping/OrderBy.php b/src/Mapping/OrderBy.php index e7a0ad184bb..28375ec8c1a 100644 --- a/src/Mapping/OrderBy.php +++ b/src/Mapping/OrderBy.php @@ -6,6 +6,7 @@ use Attribute; use Doctrine\Common\Annotations\Annotation\NamedArgumentConstructor; +use Doctrine\Common\Collections\Order; /** * @Annotation @@ -16,12 +17,12 @@ final class OrderBy implements MappingAttribute { /** - * @var array + * @var array * @readonly */ public $value; - /** @param array $value */ + /** @param array $value */ public function __construct(array $value) { $this->value = $value;