@@ -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 |
@@ -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(); |
@@ -405,7 +405,7 @@ |
||
405 | 405 | * @since 1.0 |
406 | 406 | * |
407 | 407 | * @throws Exception |
408 | - * @return mixed |
|
408 | + * @return string |
|
409 | 409 | */ |
410 | 410 | public function getOriginalValue() { |
411 | 411 | if ( $this->setCount == 0 ) { |
@@ -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; |