Skip to content

Commit

Permalink
updated annotations to only use @annotation on final classes
Browse files Browse the repository at this point in the history
  • Loading branch information
lsmith77 committed Sep 26, 2011
1 parent d7d695f commit 4a08245
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions lib/Doctrine/ODM/PHPCR/Mapping/Annotations/DoctrineAnnotations.php
Expand Up @@ -35,10 +35,6 @@ final class MappedSuperclass
final class Node
{
}
/**
* @Annotation
* @Target("PROPERTY")
*/
class Property
{
/** @var string @Required */
Expand Down Expand Up @@ -142,10 +138,6 @@ final class ArrayField extends Property
{
public $type = 'array';
}
/**
* @Annotation
* @Target("PROPERTY")
*/
class Reference
{
/** @var string @Required */
Expand All @@ -171,7 +163,7 @@ final class ReferenceMany extends Reference
* @Annotation
* @Target("PROPERTY")
*/
class Child
final class Child
{
/** @var string @Required */
public $name;
Expand All @@ -180,7 +172,7 @@ class Child
* @Annotation
* @Target("PROPERTY")
*/
class Children
final class Children
{
/** @var string */
public $filter;
Expand All @@ -189,7 +181,7 @@ class Children
* @Annotation
* @Target("PROPERTY")
*/
class Referrers
final class Referrers
{
/** @var string */
public $filterName;
Expand Down

0 comments on commit 4a08245

Please sign in to comment.