@@ -27,8 +27,6 @@ |
||
| 27 | 27 | * |
| 28 | 28 | * @param object $subject The subject to be filtered. |
| 29 | 29 | * @param string $field The subject field name. |
| 30 | - * @param mixed $true Use this value for `true`. |
|
| 31 | - * @param mixed $false Use this value for `false`. |
|
| 32 | 30 | * |
| 33 | 31 | * @return bool Always true. |
| 34 | 32 | */ |
@@ -20,7 +20,6 @@ |
||
| 20 | 20 | * |
| 21 | 21 | * @param object $subject The subject to be filtered. |
| 22 | 22 | * @param string $field The subject field name. |
| 23 | - * @param callable $callable A callable/callback. |
|
| 24 | 23 | * |
| 25 | 24 | * @return bool True if the value was sanitized, false if not. |
| 26 | 25 | */ |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | protected $otherField; |
| 9 | 9 | |
| 10 | 10 | /** |
| 11 | - * @param string $other_field The name of the other subject field. |
|
| 11 | + * @param string $otherField The name of the other subject field. |
|
| 12 | 12 | */ |
| 13 | 13 | public function __construct(string $otherField) |
| 14 | 14 | { |
@@ -21,8 +21,8 @@ |
||
| 21 | 21 | /** |
| 22 | 22 | * @param int $min The minimum length. |
| 23 | 23 | * @param int $max The maximum length. |
| 24 | - * @param string $pad_string Pad using this string. |
|
| 25 | - * @param int $pad_type A `STR_PAD_*` constant. |
|
| 24 | + * @param string $padString Pad using this string. |
|
| 25 | + * @param int $padType A `STR_PAD_*` constant. |
|
| 26 | 26 | * |
| 27 | 27 | */ |
| 28 | 28 | public function __construct(int $min, int $max, string $padString = ' ', int $padType = STR_PAD_RIGHT) |
@@ -17,8 +17,8 @@ |
||
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | 19 | * @param int $len The string length. |
| 20 | - * @param string $pad_string Pad using this string. |
|
| 21 | - * @param int $pad_type A `STR_PAD_*` constant. |
|
| 20 | + * @param string $padString Pad using this string. |
|
| 21 | + * @param int $padType A `STR_PAD_*` constant. |
|
| 22 | 22 | */ |
| 23 | 23 | public function __construct(int $len, string $padString = ' ', int $padType = STR_PAD_RIGHT) |
| 24 | 24 | { |
@@ -18,8 +18,8 @@ |
||
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | 20 | * @param int $min The minimum length. |
| 21 | - * @param string $pad_string Pad using this string. |
|
| 22 | - * @param int $pad_type A `STR_PAD_*` constant. |
|
| 21 | + * @param string $padString Pad using this string. |
|
| 22 | + * @param int $padType A `STR_PAD_*` constant. |
|
| 23 | 23 | */ |
| 24 | 24 | public function __construct(int $min, string $padString = ' ', int $padType = STR_PAD_RIGHT) |
| 25 | 25 | { |
@@ -2,10 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Mbright\Validation\Spec; |
| 4 | 4 | |
| 5 | -use Mbright\Validation\Exception\RuleClassNotDefinedException; |
|
| 6 | -use Mbright\Validation\Rule\Sanitize\SanitizeRuleInterface; |
|
| 7 | -use Mbright\Validation\Rule\Validate\ValidateRuleInterface; |
|
| 8 | - |
|
| 9 | 5 | abstract class AbstractSpec |
| 10 | 6 | { |
| 11 | 7 | /** |
@@ -62,7 +62,6 @@ discard block |
||
| 62 | 62 | /** |
| 63 | 63 | * Sets a negated validation rule and its arguments. |
| 64 | 64 | * |
| 65 | - * @param ValidateRuleInterface $ruleClass |
|
| 66 | 65 | * |
| 67 | 66 | * @return AbstractSpec |
| 68 | 67 | */ |
@@ -77,7 +76,6 @@ discard block |
||
| 77 | 76 | /** |
| 78 | 77 | * Allow blank values to pass validation. |
| 79 | 78 | * |
| 80 | - * @param array $allowedBlanks |
|
| 81 | 79 | * |
| 82 | 80 | * @return ValidateSpec |
| 83 | 81 | */ |