Completed
Pull Request — master (#30)
by Karsten
05:08
created
src/ParamDefinition.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,8 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/ProcessingError.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/ProcessingErrorHandler.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Processor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -488,7 +488,7 @@
 block discarded – undo
488 488
 	 * @since 0.4
489 489
 	 * @deprecated since 1.0
490 490
 	 *
491
-	 * @return IParam[]
491
+	 * @return Param[]
492 492
 	 */
493 493
 	public function getParameters() {
494 494
 		return $this->params;
Please login to merge, or discard this patch.
tests/phpunit/ProcessorTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace ParamProcessor\Tests;
4 4
 
5
-use ParamProcessor\ProcessingError;
6 5
 use ParamProcessor\ProcessingResult;
7 6
 use ParamProcessor\Processor;
8 7
 use ParamProcessor\Options;
Please login to merge, or discard this patch.
src/Param.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -482,7 +482,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.