소스 검색

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;