@@ -435,7 +435,7 @@ discard block |
||
435 | 435 | /** |
436 | 436 | * Returns false when there are no fatal errors or an ProcessingError when one is found. |
437 | 437 | * |
438 | - * @return mixed false or ProcessingError |
|
438 | + * @return boolean false or ProcessingError |
|
439 | 439 | */ |
440 | 440 | public function hasFatalError() { |
441 | 441 | foreach ( $this->errors as $error ) { |
@@ -485,7 +485,7 @@ discard block |
||
485 | 485 | * |
486 | 486 | * @since 1.0 |
487 | 487 | * |
488 | - * @return boolean |
|
488 | + * @return string |
|
489 | 489 | */ |
490 | 490 | public function getName() { |
491 | 491 | return $this->definition->getName(); |
@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace ParamProcessor; |
4 | 4 | |
5 | 5 | use Exception; |
6 | - |
|
7 | 6 | use ValueParsers\ValueParser; |
8 | 7 | use ValueParsers\NullParser; |
9 | - |
|
10 | 8 | use ValueValidators\ValueValidator; |
11 | 9 | use ValueValidators\NullValidator; |
12 | 10 |
@@ -63,7 +63,6 @@ discard block |
||
63 | 63 | * |
64 | 64 | * @since 0.4.1 |
65 | 65 | * |
66 | - * @param string|string[] $criteria |
|
67 | 66 | */ |
68 | 67 | public function addTags() { |
69 | 68 | $args = func_get_args(); |
@@ -134,7 +133,7 @@ discard block |
||
134 | 133 | * |
135 | 134 | * @since 0.4.1 |
136 | 135 | * |
137 | - * @return array |
|
136 | + * @return string[] |
|
138 | 137 | */ |
139 | 138 | public function getTags() { |
140 | 139 | return $this->tags; |
@@ -25,8 +25,6 @@ |
||
25 | 25 | * |
26 | 26 | * @since 0.4 |
27 | 27 | * |
28 | - * @param string $errorMessage |
|
29 | - * @param integer $severity |
|
30 | 28 | */ |
31 | 29 | public static function addError( ProcessingError $error ) { |
32 | 30 | self::$errors[$error->getElement()][] = $error; |
@@ -484,7 +484,7 @@ |
||
484 | 484 | * @since 0.4 |
485 | 485 | * @deprecated since 1.0 |
486 | 486 | * |
487 | - * @return IParam[] |
|
487 | + * @return Param[] |
|
488 | 488 | */ |
489 | 489 | public function getParameters() { |
490 | 490 | return $this->params; |