diff options
| author | Asko Nomm <asko@bien.ee> | 2022-02-22 21:55:37 +0100 |
|---|---|---|
| committer | Asko Nomm <asko@bien.ee> | 2022-02-22 21:55:37 +0100 |
| commit | dfe0351124dfd3c0acf26205668ab5b69351bbd9 (patch) | |
| tree | 12f741e232c7a9b834aa0ddd7b1ff9c481201b81 /src/Validators/LenValidator.php | |
| parent | b0fd14cd71d60c1b9926aff10fe9e8eeebe1285c (diff) | |
Improvements
Diffstat (limited to 'src/Validators/LenValidator.php')
| -rw-r--r-- | src/Validators/LenValidator.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Validators/LenValidator.php b/src/Validators/LenValidator.php index b4b5e2b..c92f7db 100644 --- a/src/Validators/LenValidator.php +++ b/src/Validators/LenValidator.php @@ -18,7 +18,7 @@ class LenValidator implements Validator * @param mixed $modifier * @return boolean */ - public static function validate(string $value, mixed $modifier = null): bool + public static function validate(mixed $value, mixed $modifier = null): bool { // If no modifier present then this validator will always validate. if (!$modifier) { |
