From 0618944f8a34331aa57c7bc357d69159926f432f Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Sun, 12 Dec 2010 13:12:44 +0100 Subject: [PATCH] DDC-901 - Fix documentation bug in Cookbook SQL Walker entry. --- en/cookbook/dql-custom-walkers.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/cookbook/dql-custom-walkers.rst b/en/cookbook/dql-custom-walkers.rst index e1934d64a..19ce8bda6 100644 --- a/en/cookbook/dql-custom-walkers.rst +++ b/en/cookbook/dql-custom-walkers.rst @@ -139,8 +139,8 @@ implementation is: } $pathExpression = new PathExpression( - PathExpression::TYPE_STATE_FIELD | PathExpression::TYPE_SINGLE_VALUED_ASSOCIATION, $parentName, array( - $parent['metadata']->getSingleIdentifierFieldName()) + PathExpression::TYPE_STATE_FIELD | PathExpression::TYPE_SINGLE_VALUED_ASSOCIATION, $parentName, + $parent['metadata']->getSingleIdentifierFieldName() ); $pathExpression->type = PathExpression::TYPE_STATE_FIELD;