Explorar o código

Fix an introduced issue with deleting too much

Christian Stocker %!s(int64=13) %!d(string=hai) anos
pai
achega
c5c53167db
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;