diff --git a/src/Valitron/Validator.php b/src/Valitron/Validator.php index db79f39..cf4ec9c 100644 --- a/src/Valitron/Validator.php +++ b/src/Valitron/Validator.php @@ -892,7 +892,7 @@ class Validator // Catches the case where the data isn't an array or object if (is_scalar($data)) { - return array($data, false); + return array(NULL, false); } $identifier = array_shift($identifiers);