@@ -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 |
@@ -189,8 +189,8 @@ discard block |
||
189 | 189 | } |
190 | 190 | /** |
191 | 191 | * Returns the value of the first meta value assigned to the name |
192 | - * @param array $names the meta names to check |
|
193 | - * @param mixed $fallback the fallback value if anyone is set |
|
192 | + * @param string[] $names the meta names to check |
|
193 | + * @param boolean $fallback the fallback value if anyone is set |
|
194 | 194 | * @return mixed the meta information value |
195 | 195 | */ |
196 | 196 | public function getMetaValueFirstSet(array $names, $fallback = null) |
@@ -318,7 +318,7 @@ discard block |
||
318 | 318 | /** |
319 | 319 | * Allows to define from which class the curent model extends |
320 | 320 | * @param bool $short |
321 | - * @return string|null |
|
321 | + * @return string |
|
322 | 322 | */ |
323 | 323 | public function getExtends($short = false) |
324 | 324 | { |
@@ -425,8 +425,8 @@ discard block |
||
425 | 425 | * Returns a usable method for a original method |
426 | 426 | * @uses PhpReservedKeywords::instance() |
427 | 427 | * @uses PhpReservedKeywords::is() |
428 | - * @param string $keyword the keyword |
|
429 | 428 | * @param string $context the context |
429 | + * @param string $methodName |
|
430 | 430 | * @return string |
431 | 431 | */ |
432 | 432 | public function replaceReservedMethod($methodName, $context = null) |