Skip to content
Browse files

updated annotations to only use @Annotation on final classes

  • Loading branch information...
1 parent d7d695f commit 4a0824572daea93f4a78a13690cc4adf696506f0 @lsmith77 lsmith77 committed Sep 26, 2011
Showing with 3 additions and 11 deletions.
  1. +3 −11 lib/Doctrine/ODM/PHPCR/Mapping/Annotations/DoctrineAnnotations.php
View
14 lib/Doctrine/ODM/PHPCR/Mapping/Annotations/DoctrineAnnotations.php
@@ -35,10 +35,6 @@
final class Node
{
}
-/**
- * @Annotation
- * @Target("PROPERTY")
- */
class Property
{
/** @var string @Required */
@@ -142,10 +138,6 @@ class Property
{
public $type = 'array';
}
-/**
- * @Annotation
- * @Target("PROPERTY")
- */
class Reference
{
/** @var string @Required */
@@ -171,7 +163,7 @@ class 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;

0 comments on commit 4a08245

Please sign in to comment.
Something went wrong with that request. Please try again.