From dfde682d93b99f3c83f189f843847b3573295d54 Mon Sep 17 00:00:00 2001 From: Willem Wollebrants Date: Thu, 21 Mar 2019 21:00:30 +0100 Subject: [PATCH] use correct typehint for callable --- src/Valitron/Validator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Valitron/Validator.php b/src/Valitron/Validator.php index 93c06be..5a4423c 100644 --- a/src/Valitron/Validator.php +++ b/src/Valitron/Validator.php @@ -1229,7 +1229,7 @@ class Validator /** * Convenience method to add a single validation rule * - * @param string|callback $rule + * @param string|callable $rule * @param array|string $fields * @return Validator * @throws \InvalidArgumentException