Skip to content

Commit

Permalink
minor twigphp#2562 Change typo in documentation (uthopiko)
Browse files Browse the repository at this point in the history
This PR was submitted for the master branch but it was merged into the 1.x branch instead (closes twigphp#2562).

Discussion
----------

Change typo in documentation

In example of use for test_iterable function there is a typo

Commits
-------

8607f13 Change typo in documentation
  • Loading branch information
fabpot committed Nov 12, 2017
2 parents 7014fda + 8607f13 commit acfa031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Twig/Extension/Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -1444,7 +1444,7 @@ function twig_test_empty($value)
*
* <pre>
* {# evaluates to true if the foo variable is an array or a traversable object #}
* {% if foo is traversable %}
* {% if foo is iterable %}
* {# ... #}
* {% endif %}
* </pre>
Expand Down

0 comments on commit acfa031

Please sign in to comment.