From 38a0c070a00b888268d7073a11fecc7f79e0da5b Mon Sep 17 00:00:00 2001 From: Asko Nomm Date: Tue, 22 Feb 2022 21:57:57 +0100 Subject: Update docstrings --- src/Validators/EmailValidator.php | 2 +- src/Validators/LenValidator.php | 2 +- src/Validators/RequiredValidator.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Validators/EmailValidator.php b/src/Validators/EmailValidator.php index baca760..d0e87fc 100644 --- a/src/Validators/EmailValidator.php +++ b/src/Validators/EmailValidator.php @@ -14,7 +14,7 @@ class EmailValidator implements Validator * Returns a boolean `true` when given `$value` is a valid e-mail * address. Returns `false` otherwise. * - * @param string $value + * @param mixed $value * @param mixed $modifier * @return boolean */ diff --git a/src/Validators/LenValidator.php b/src/Validators/LenValidator.php index c92f7db..54fe234 100644 --- a/src/Validators/LenValidator.php +++ b/src/Validators/LenValidator.php @@ -14,7 +14,7 @@ class LenValidator implements Validator * Returns a boolean `true` when given `$value` is as long as * required. Returns `false` otherwise. * - * @param string $value + * @param mixed $value * @param mixed $modifier * @return boolean */ diff --git a/src/Validators/RequiredValidator.php b/src/Validators/RequiredValidator.php index 488a0ac..8e205f9 100644 --- a/src/Validators/RequiredValidator.php +++ b/src/Validators/RequiredValidator.php @@ -14,7 +14,7 @@ class RequiredValidator implements Validator * Returns a boolean `true` when given `$value` is present * and not empty. Returns `false` otherwise. * - * @param string $value + * @param mixed $value * @param mixed $modifier * @return boolean */ -- cgit v1.2.3