@@ -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 |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | * @param string $parameterName |
| 13 | 13 | * @param mixed $value |
| 14 | 14 | * @param bool $itemType |
| 15 | - * @return Enumeration |
|
| 15 | + * @return ArrayRule |
|
| 16 | 16 | */ |
| 17 | 17 | public function applyRule($parameterName, $value, $itemType = false) |
| 18 | 18 | { |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * @param string $parameterName |
| 10 | 10 | * @param mixed $value |
| 11 | 11 | * @param bool $itemType |
| 12 | - * @return Enumeration |
|
| 12 | + * @return BooleanRule |
|
| 13 | 13 | */ |
| 14 | 14 | public function applyRule($parameterName, $value, $itemType = false) |
| 15 | 15 | { |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * @param string $parameterName |
| 10 | 10 | * @param mixed $value |
| 11 | 11 | * @param bool $itemType |
| 12 | - * @return Enumeration |
|
| 12 | + * @return FractionDigitsRule |
|
| 13 | 13 | */ |
| 14 | 14 | public function applyRule($parameterName, $value, $itemType = false) |
| 15 | 15 | { |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * @param string $parameterName |
| 10 | 10 | * @param mixed $value |
| 11 | 11 | * @param bool $itemType |
| 12 | - * @return Enumeration |
|
| 12 | + * @return IntRule |
|
| 13 | 13 | */ |
| 14 | 14 | public function applyRule($parameterName, $value, $itemType = false) |
| 15 | 15 | { |
@@ -11,9 +11,9 @@ discard block |
||
| 11 | 11 | /** |
| 12 | 12 | * @see \WsdlToPhp\PackageGenerator\File\Validation\AbstractValidation::addRule() |
| 13 | 13 | * @param string $parameterName |
| 14 | - * @param mixed $value |
|
| 14 | + * @param boolean|null $value |
|
| 15 | 15 | * @param bool $itemType |
| 16 | - * @return Enumeration |
|
| 16 | + * @return ItemTypeRule |
|
| 17 | 17 | */ |
| 18 | 18 | public function applyRule($parameterName, $value, $itemType = false) |
| 19 | 19 | { |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | /** |
| 28 | 28 | * The second case which used PHP native functions is volontary limited by the native functions provided by PHP, |
| 29 | 29 | * and the possible types defined in xsd_types.yml |
| 30 | - * @param StructAttributeModel $attribute |
|
| 30 | + * @param StructAttribute $attribute |
|
| 31 | 31 | * @param string $itemName |
| 32 | 32 | */ |
| 33 | 33 | protected function getItemSanityCheck(StructAttribute $attribute, $itemName) |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * @param string $parameterName |
| 10 | 10 | * @param mixed $value |
| 11 | 11 | * @param bool $itemType |
| 12 | - * @return Enumeration |
|
| 12 | + * @return LengthRule |
|
| 13 | 13 | */ |
| 14 | 14 | public function applyRule($parameterName, $value, $itemType = false) |
| 15 | 15 | { |