From 4a0824572daea93f4a78a13690cc4adf696506f0 Mon Sep 17 00:00:00 2001 From: Lukas Kahwe Smith Date: Mon, 26 Sep 2011 14:28:58 +0200 Subject: [PATCH] updated annotations to only use @Annotation on final classes --- .../Mapping/Annotations/DoctrineAnnotations.php | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/lib/Doctrine/ODM/PHPCR/Mapping/Annotations/DoctrineAnnotations.php b/lib/Doctrine/ODM/PHPCR/Mapping/Annotations/DoctrineAnnotations.php index 2c8eebf1b..9507f6eb7 100644 --- a/lib/Doctrine/ODM/PHPCR/Mapping/Annotations/DoctrineAnnotations.php +++ b/lib/Doctrine/ODM/PHPCR/Mapping/Annotations/DoctrineAnnotations.php @@ -35,10 +35,6 @@ final class MappedSuperclass final class Node { } -/** - * @Annotation - * @Target("PROPERTY") - */ class Property { /** @var string @Required */ @@ -142,10 +138,6 @@ final class ArrayField extends Property { public $type = 'array'; } -/** - * @Annotation - * @Target("PROPERTY") - */ class Reference { /** @var string @Required */ @@ -171,7 +163,7 @@ final class ReferenceMany extends Reference * @Annotation * @Target("PROPERTY") */ -class Child +final class Child { /** @var string @Required */ public $name; @@ -180,7 +172,7 @@ class Child * @Annotation * @Target("PROPERTY") */ -class Children +final class Children { /** @var string */ public $filter; @@ -189,7 +181,7 @@ class Children * @Annotation * @Target("PROPERTY") */ -class Referrers +final class Referrers { /** @var string */ public $filterName;