Skip to content

Commit

Permalink
merged branch shieldo/patch-3 (PR #4128)
Browse files Browse the repository at this point in the history
Commits
-------

ca52348 [Validator] fixed grammar in exception message

Discussion
----------

[Validator] fixed grammar in exception message
  • Loading branch information
fabpot committed Apr 27, 2012
2 parents ae9b7fc + ca52348 commit a01dec0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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);
Expand Down

0 comments on commit a01dec0

Please sign in to comment.