Skip to content

Commit

Permalink
Fix referencing Content in Location code example
Browse files Browse the repository at this point in the history
  • Loading branch information
pspanja committed Nov 3, 2023
1 parent a6d961c commit e4f09ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference/objects.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down

0 comments on commit e4f09ff

Please sign in to comment.