merged branch shieldo/patch-3 (PR #4128)

Commits
-------

ca52348 [Validator] fixed grammar in exception message

Discussion
----------

[Validator] fixed grammar in exception message
This commit is contained in:
Fabien Potencier 2012-04-27 09:27:00 +02:00
commit a01dec00f4

View File

@ -24,7 +24,7 @@ class PropertyMetadata extends MemberMetadata
public function __construct($class, $name) public function __construct($class, $name)
{ {
if (!property_exists($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); parent::__construct($class, $name, $name);