minor #1885 simplified some code (fabpot)
minor #1885 simplified some code (fabpot)

This PR was merged into the 2.0-dev branch.

Discussion
----------

simplified some code

Commits
-------

b1e8893 simplified some code

apishka/templater,twigphp/Twig,derickr/Twig,gencer/Twig,gamernetwork/Twig,twigphp/Twig,gamernetwork/Twig,derickr/Twig,derickr/Twig,apishka/templater,hhamon/Twig,hhamon/Twig,gencer/Twig,gamernetwork/Twig,twigphp/Twig,hhamon/Twig