Procházet zdrojové kódy

Fix an introduced issue with deleting too much

Christian Stocker před 13 roky
rodič
revize
c5c53167db
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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;