Skip to content

Commit a8cc47c

Browse files
committed
Merge pull request #905 from igorw/constraints-callback-camelcase
make $propertyPath in Callback constraint doc camelCase
2 parents 155deba + 4dc240d commit a8cc47c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/constraints/Callback.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ those errors should be attributed::
7474
7575
// check if the name is actually a fake name
7676
if (in_array($this->getFirstName(), $fakeNames)) {
77-
$property_path = $context->getPropertyPath() . '.firstName';
78-
$context->setPropertyPath($property_path);
77+
$propertyPath = $context->getPropertyPath() . '.firstName';
78+
$context->setPropertyPath($propertyPath);
7979
$context->addViolation('This name sounds totally fake!', array(), null);
8080
}
8181
}

0 commit comments

Comments
 (0)