@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | * |
62 | 62 | * Tests if a 13 digit ISBN is correct. |
63 | 63 | * |
64 | - * @param $value The value to test. |
|
64 | + * @param string $value The value to test. |
|
65 | 65 | * |
66 | 66 | * @return bool |
67 | 67 | * |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | * |
92 | 92 | * Tests if a 10 digit ISBN is correct. |
93 | 93 | * |
94 | - * @param $value The value to test. |
|
94 | + * @param string $value The value to test. |
|
95 | 95 | * |
96 | 96 | * @return bool |
97 | 97 | * |
@@ -9,7 +9,6 @@ |
||
9 | 9 | namespace Aura\Filter\Spec; |
10 | 10 | |
11 | 11 | use Aura\Filter\Locator\Locator; |
12 | -use Exception; |
|
13 | 12 | use Closure; |
14 | 13 | |
15 | 14 | /** |
@@ -123,7 +123,7 @@ |
||
123 | 123 | * |
124 | 124 | * Returns a new SubSpecFactory instance. |
125 | 125 | * |
126 | - * @return SubSpec |
|
126 | + * @return SubSpecFactory |
|
127 | 127 | * |
128 | 128 | */ |
129 | 129 | public function newSubSpecFactory() |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | * |
105 | 105 | * @param ValidateSpec $validate_spec A prototype ValidateSpec. |
106 | 106 | * |
107 | - * @param ValidateSpec $sanitize_spec A prototype SanitizeSpec. |
|
107 | + * @param SanitizeSpec $sanitize_spec A prototype SanitizeSpec. |
|
108 | 108 | * |
109 | 109 | * @param SubSpecFactory $sub_spec_factory A factory for SubSpec |
110 | 110 | * |
@@ -359,7 +359,7 @@ discard block |
||
359 | 359 | * |
360 | 360 | * @param Spec $spec The failed rule specification. |
361 | 361 | * |
362 | - * @return Failure |
|
362 | + * @return Failure\Failure |
|
363 | 363 | * |
364 | 364 | */ |
365 | 365 | protected function failed($spec) |