|
@@ 353-357 (lines=5) @@
|
| 350 |
|
|
| 351 |
|
} elseif ($itemOfArray = $this->isArrayType($attribute->getType())) { |
| 352 |
|
|
| 353 |
|
if ($valueProp = $this->typeHasValue($itemOfArray, $class, 'xx')) { |
| 354 |
|
$property["type"] = "GoetasWebservices\Xsd\XsdToPhp\Jms\SimpleListOf<" . $valueProp . ">"; |
| 355 |
|
} else { |
| 356 |
|
$property["type"] = "GoetasWebservices\Xsd\XsdToPhp\Jms\SimpleListOf<" . $this->findPHPName($itemOfArray) . ">"; |
| 357 |
|
} |
| 358 |
|
|
| 359 |
|
$property["xml_list"]["inline"] = false; |
| 360 |
|
$property["xml_list"]["entry_name"] = $itemOfArray->getName(); |
|
@@ 439-443 (lines=5) @@
|
| 436 |
|
if (!$t->getName()) { |
| 437 |
|
$visitedType = $this->visitTypeAnonymous($itemOfArray, $element->getName(), $class); |
| 438 |
|
|
| 439 |
|
if ($prop = $this->typeHasValue($itemOfArray, $class, 'xx')) { |
| 440 |
|
$property["type"] = "array<" . $prop . ">"; |
| 441 |
|
} else { |
| 442 |
|
$property["type"] = "array<" . key($visitedType) . ">"; |
| 443 |
|
} |
| 444 |
|
} else { |
| 445 |
|
$this->visitType($itemOfArray); |
| 446 |
|
$property["type"] = "array<" . $this->findPHPName($itemOfArray) . ">"; |