mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-17 21:07:18 +00:00
fix variable name
This commit is contained in:
@@ -22,7 +22,7 @@ You can pass an arrow function to sort the array:
|
|||||||
|
|
||||||
.. code-block:: twig
|
.. code-block:: twig
|
||||||
|
|
||||||
{% set list = [
|
{% set fruits = [
|
||||||
{ name: 'Apples', quantity: 5 },
|
{ name: 'Apples', quantity: 5 },
|
||||||
{ name: 'Oranges', quantity: 2 },
|
{ name: 'Oranges', quantity: 2 },
|
||||||
{ name: 'Grapes', quantity: 4 },
|
{ name: 'Grapes', quantity: 4 },
|
||||||
|
|||||||
Reference in New Issue
Block a user