You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…uiluz)
This PR was merged into the 2.8 branch.
Discussion
----------
Fixed the type of the twig.cache config option
Fixes#10101.
Commits
-------
0a2c44f Fixed the type of the twig.cache config option
https://github.com/symfony/symfony-docs/blob/master/reference/configuration/twig.rst#cache shows that we need to specify
null
if we want to disable cache. However, https://github.com/twigphp/Twig/blob/60a8f465d6f259c92a8fe0fb61cf8f767bd8d025/lib/Twig/Environment.php#L247 states that we needfalse
instead.Also, the type is either
string|bool|Twig_CacheInterface
. I'm not sure if the docs support multi-types though.The text was updated successfully, but these errors were encountered: