@@ -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 | { |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * @param string $parameterName |
| 10 | 10 | * @param mixed $value |
| 11 | 11 | * @param bool $itemType |
| 12 | - * @return Enumeration |
|
| 12 | + * @return MaxExclusiveRule |
|
| 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 MaxLengthRule |
|
| 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 MinExclusiveRule |
|
| 13 | 13 | */ |
| 14 | 14 | public function applyRule($parameterName, $value, $itemType = false) |
| 15 | 15 | { |