parent
95efa3e366
commit
54894b2fd9
|
@ -181,7 +181,7 @@ class AnnotationClassLoader extends Loader
|
|||
}
|
||||
|
||||
$loaded = $complexTypeResolver->load($phpType);
|
||||
$complexType = new ComplexType($phpType, $loaded['alias']);
|
||||
$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());
|
||||
}
|
||||
|
|
|
@ -21,10 +21,10 @@ class ComplexType extends Message implements TypeInterface
|
|||
{
|
||||
public function __construct($phpType, $xmlType)
|
||||
{
|
||||
parent::__construct($xmlType);
|
||||
|
||||
$this->phpType = $phpType;
|
||||
$this->xmlType = $xmlType;
|
||||
$this->xmlType = str_replace('\\', '.', $xmlType);
|
||||
|
||||
parent::__construct($xmlType);
|
||||
}
|
||||
|
||||
public function getPhpType()
|
||||
|
|
Loading…
Reference in New Issue