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:
commit
a01dec00f4
@ -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