From a3f174b7f36192dfdb7157a43e31ee5fbdcb2a9f Mon Sep 17 00:00:00 2001 From: Dave Mc Nicoll Date: Wed, 8 Nov 2023 09:28:26 -0500 Subject: [PATCH] - Quickfix on EntityTrait annotations removal --- src/EntityTrait.php | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/EntityTrait.php b/src/EntityTrait.php index 81f4547..d567a1b 100644 --- a/src/EntityTrait.php +++ b/src/EntityTrait.php @@ -2,26 +2,20 @@ namespace Ulmus\Ldap; -use Ulmus\{ Ulmus, EventTrait, Query, Common\EntityResolver, Common\EntityField }; +use Ulmus\{Attribute\Property\Field, Ulmus, EventTrait, Query, Common\EntityResolver, Common\EntityField}; use Ulmus\Ldap\Annotation\Classes\{ ObjectClass, ObjectType, }; trait EntityTrait { use \Ulmus\EntityTrait; - /** - * @Id('readonly' => true) - */ + #[Field\Id(readonly: true)] public string $dn; - /** - * @Field - */ + #[Field] public string $cn; - /** - * @Field - */ + #[Field] public array $objectClass; public static function resolveEntity() : EntityResolver