浏览代码

Fix an introduced issue with deleting too much

Christian Stocker 13 年之前
父节点
当前提交
c5c53167db
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Metadata/Driver/AnnotationDriver.php

+ 1 - 0
Metadata/Driver/AnnotationDriver.php

@@ -92,6 +92,7 @@ class AnnotationDriver implements DriverInterface
                 $AccessType = $classAccessType;
                 $accessor = array(null, null);
                 foreach ($this->reader->getPropertyAnnotations($property) as $annot) {
+                    if ($annot instanceof Since) {
                         $propertyMetadata->sinceVersion = $annot->version;
                     } else if ($annot instanceof Until) {
                         $propertyMetadata->untilVersion = $annot->version;