From e4f09ff6829170f6c354a55db36655f6671e43e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petar=20=C5=A0panja?= Date: Fri, 3 Nov 2023 09:09:59 +0100 Subject: [PATCH] Fix referencing Content in Location code example --- docs/reference/objects.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/objects.rst b/docs/reference/objects.rst index 8be6b428..7eeb331a 100644 --- a/docs/reference/objects.rst +++ b/docs/reference/objects.rst @@ -703,12 +703,12 @@ a Pagerfanta instance. +----------------------------------------+------------------------------------------------------------------------------------+ | **Example in PHP** | .. code-block:: php | | | | -| | $children = $content->filterChildren(['articles'], 10, 2); | +| | $children = $location->filterChildren(['articles'], 10, 2); | | | | +----------------------------------------+------------------------------------------------------------------------------------+ | **Example in Twig** | .. code-block:: twig | | | | -| | {% set relation = content.filterChildren( | +| | {% set relation = location.filterChildren( | | | ['articles'], | | | 10, | | | 2 |