Sfoglia il codice sorgente

Fix an introduced issue with deleting too much

Christian Stocker 13 anni fa
parent
commit
c5c53167db
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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;