[Validator] fixed grammar in exception message
This commit is contained in:
parent
ae9b7fcad1
commit
ca52348381
@ -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);
|
||||||
|
Reference in New Issue
Block a user