@@ -12,7 +12,7 @@ |
||
12 | 12 | const OPTIONAL_HEADER = 'optional'; |
13 | 13 | const ATTRIBUTE_REQUIRED = 'wsdl:required'; |
14 | 14 | /** |
15 | - * @return TagInput|null |
|
15 | + * @return \WsdlToPhp\PackageGenerator\DomHandler\AbstractNodeHandler|null |
|
16 | 16 | */ |
17 | 17 | public function getParentInput() |
18 | 18 | { |
@@ -188,7 +188,7 @@ |
||
188 | 188 | */ |
189 | 189 | private function formatArrayForConsole($array) |
190 | 190 | { |
191 | - array_walk($array, function (&$value, $index) { |
|
191 | + array_walk($array, function(&$value, $index) { |
|
192 | 192 | $value = sprintf("%s: %s", $index, !is_array($value) ? $value : implode(', ', $value)); |
193 | 193 | }); |
194 | 194 | return $array; |
@@ -60,7 +60,7 @@ |
||
60 | 60 | */ |
61 | 61 | public static function isAnonymous($xsdType) |
62 | 62 | { |
63 | - return (bool) preg_match(self::ANONYMOUS_TYPE, $xsdType); |
|
63 | + return (bool)preg_match(self::ANONYMOUS_TYPE, $xsdType); |
|
64 | 64 | } |
65 | 65 | /** |
66 | 66 | * @param string $xsdType |
@@ -424,7 +424,7 @@ |
||
424 | 424 | { |
425 | 425 | $attribute = $this->getStructAttribute($attribute); |
426 | 426 | $inheritance = $attribute->getInheritance(); |
427 | - if(empty($inheritance)) { |
|
427 | + if (empty($inheritance)) { |
|
428 | 428 | $type = $attribute->getType(); |
429 | 429 | } else { |
430 | 430 | $type = $inheritance; |
@@ -343,7 +343,7 @@ |
||
343 | 343 | $inheritance = $this->getInheritance(); |
344 | 344 | if (!empty($inheritance)) { |
345 | 345 | $struct = $this->getInheritanceStruct(); |
346 | - while($struct instanceof Struct) { |
|
346 | + while ($struct instanceof Struct) { |
|
347 | 347 | $structInheritance = $struct->getInheritance(); |
348 | 348 | if (!empty($structInheritance)) { |
349 | 349 | $inheritance = $structInheritance; |