summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAsko Nomm <asko@bien.ee>2022-02-22 21:57:57 +0100
committerAsko Nomm <asko@bien.ee>2022-02-22 21:57:57 +0100
commit38a0c070a00b888268d7073a11fecc7f79e0da5b (patch)
tree2b46b2b9805b4b89b6739f3ef11b5c90bbd33c76 /src
parentdfe0351124dfd3c0acf26205668ab5b69351bbd9 (diff)
Update docstrings
Diffstat (limited to 'src')
-rw-r--r--src/Validators/EmailValidator.php2
-rw-r--r--src/Validators/LenValidator.php2
-rw-r--r--src/Validators/RequiredValidator.php2
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
*/