From 4dc240d173a3fdbbe43fa9a1746b2c06da83c512 Mon Sep 17 00:00:00 2001 From: Igor Wiedler Date: Thu, 8 Dec 2011 11:42:57 +0100 Subject: [PATCH] make $propertyPath in Callback constraint doc camelCase --- reference/constraints/Callback.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/constraints/Callback.rst b/reference/constraints/Callback.rst index 568e3f87620..477a9d4b090 100644 --- a/reference/constraints/Callback.rst +++ b/reference/constraints/Callback.rst @@ -74,8 +74,8 @@ those errors should be attributed:: // check if the name is actually a fake name if (in_array($this->getFirstName(), $fakeNames)) { - $property_path = $context->getPropertyPath() . '.firstName'; - $context->setPropertyPath($property_path); + $propertyPath = $context->getPropertyPath() . '.firstName'; + $context->setPropertyPath($propertyPath); $context->addViolation('This name sounds totally fake!', array(), null); } }