We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 155deba + 4dc240d commit a8cc47cCopy full SHA for a8cc47c
reference/constraints/Callback.rst
@@ -74,8 +74,8 @@ those errors should be attributed::
74
75
// check if the name is actually a fake name
76
if (in_array($this->getFirstName(), $fakeNames)) {
77
- $property_path = $context->getPropertyPath() . '.firstName';
78
- $context->setPropertyPath($property_path);
+ $propertyPath = $context->getPropertyPath() . '.firstName';
+ $context->setPropertyPath($propertyPath);
79
$context->addViolation('This name sounds totally fake!', array(), null);
80
}
81
0 commit comments