@@ -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 |
@@ -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; |
@@ -482,7 +482,7 @@ |
||
482 | 482 | * |
483 | 483 | * @since 1.0 |
484 | 484 | * |
485 | - * @return boolean |
|
485 | + * @return string |
|
486 | 486 | */ |
487 | 487 | public function getName() { |
488 | 488 | return $this->definition->getName(); |
@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace ParamProcessor\Tests; |
4 | 4 | |
5 | -use ParamProcessor\ProcessedParam; |
|
6 | -use ParamProcessor\ProcessingError; |
|
7 | 5 | use ParamProcessor\ProcessingResult; |
8 | 6 | use ParamProcessor\Processor; |
9 | 7 | use ParamProcessor\Options; |
@@ -63,7 +63,6 @@ |
||
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(); |