Completed
Push — master ( 3ef4f5...a11ba3 )
by Jeroen De
02:21
created
src/Param.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -435,7 +435,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.
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
@@ -484,7 +484,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.