Skip to content
Browse files

[Validator] fixed grammar in exception message

  • Loading branch information...
1 parent e7639b7 commit 704f655d060b14475d7bd2a0b6d653c70f88218a @shieldo shieldo committed Apr 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Mapping/PropertyMetadata.php
View
2 Mapping/PropertyMetadata.php
@@ -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);

0 comments on commit 704f655

Please sign in to comment.
Something went wrong with that request. Please try again.