4 Commits
5.2.0 ... 5.2.1

Author SHA1 Message Date
5d335f2ca9 Correction de l'écriture du xml 2020-07-15 12:35:40 -04:00
9d6468d0a6 Update composer.json 2020-07-15 11:25:49 -04:00
9786f291b0 Update composer.json 2020-07-15 11:25:04 -04:00
750db6692b Update composer.json 2020-07-15 11:24:05 -04:00
3 changed files with 2 additions and 3 deletions

View File

@ -47,7 +47,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "master-dev"
"dev-master": "5.2.0-dev"
}
}
}

View File

@ -160,7 +160,7 @@ class AnnotationClassLoader extends Loader
$loaded = $complexTypeResolver->load($phpType);
$complexType = new ComplexType($phpType, isset($loaded['alias']) ? $loaded['alias'] : $phpType);
foreach ($loaded['properties'] as $name => $property) {
$complexType->add($name, $this->loadType($property->getValue()), $property->isNillable());
$complexType->add($name, $this->loadType($property->getValue()), $property->isNillable(), $property->getMinOccurs());
}
$this->typeRepository->addComplexType($complexType);

View File

@ -268,7 +268,6 @@ class Dumper
// 1 is the default value of minOccurs.
if (1 != $child->getMinOccurs()) {
$element->setAttribute('minOccurs', $child->getMinOccurs());
$element->setAttribute('maxOccurs', 'unbounded');
}
$all->appendChild($element);