[Validator] fixed grammar in exception message

This commit is contained in:
Douglas Greenshields 2012-04-27 03:15:37 +02:00
parent ae9b7fcad1
commit ca52348381

View File

@ -24,7 +24,7 @@ class PropertyMetadata extends MemberMetadata
public function __construct($class, $name)
{
if (!property_exists($class, $name)) {
throw new ValidatorException(sprintf('Property %s does not exists in class %s', $name, $class));
throw new ValidatorException(sprintf('Property %s does not exist in class %s', $name, $class));
}
parent::__construct($class, $name, $name);