From 5181664c792dd6b0d64c5ff31824500649fb8074 Mon Sep 17 00:00:00 2001 From: Egor Gruzdev Date: Wed, 14 Dec 2016 10:40:14 +0200 Subject: [PATCH] for PhpStorm validation --- 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 965c0f8..1ecf43d 100644 --- a/src/Valitron/Validator.php +++ b/src/Valitron/Validator.php @@ -1084,7 +1084,7 @@ class Validator * Convenience method to add a single validation rule * * @param string|callback $rule - * @param array $fields + * @param array|string $fields * @return $this * @throws \InvalidArgumentException */