Fix syntax error in code example

This commit is contained in:
Christopher Bischoff 2015-02-03 11:11:51 +01:00
parent 6bb6c8cde5
commit 6c24d7dcef

View File

@ -102,7 +102,7 @@ the same validation logic applied to it throughout.
}
else if($this->value > 5 || $this->value < 2) {
$validator->validationError(
$this->name, "Your number must be between 2 and 5, "validation", false
$this->name, "Your number must be between 2 and 5", "validation", false
);
return false;