diff --git a/src/Rule/IsArrayRule.php b/src/Rule/IsArrayRule.php index 228160e..febdc00 100644 --- a/src/Rule/IsArrayRule.php +++ b/src/Rule/IsArrayRule.php @@ -48,7 +48,7 @@ public function validate(array $data, string $propertyName, $item, $default = nu return $data; } - $message = (empty($message)) ? sprintf('%s must bool!', $propertyName) : $message; + $message = (empty($message)) ? sprintf('%s must array!', $propertyName) : $message; throw new ValidatorException($message); } } \ No newline at end of file