Fix length filter doc

This commit is contained in:
Vincent Langlet
2021-01-15 12:57:47 +01:00
committed by GitHub
parent 91e1a3cd56
commit 473f73ef2e
+1 -1
View File
@@ -14,7 +14,7 @@ return value of the ``count()`` method.
For objects that implement the ``__toString()`` magic method (and not ``Countable``),
it will return the length of the string provided by that method.
For objects that implement the ``IteratorAggregate`` interface, ``length`` will use the return value of the ``iterator_count()`` method.
For objects that implement the ``Traversable`` interface, ``length`` will use the return value of the ``iterator_count()`` method.
.. code-block:: twig