mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-29 16:37:11 +00:00
added PHP 8.1 as experimental
This commit is contained in:
committed by
Fabien Potencier
parent
ad02eb9236
commit
bef89dcc1e
+1
-1
@@ -139,7 +139,7 @@ class Environment
|
||||
], $options);
|
||||
|
||||
$this->debug = (bool) $options['debug'];
|
||||
$this->charset = strtoupper($options['charset']);
|
||||
$this->charset = null === $options['charset'] ? null : strtoupper($options['charset']);
|
||||
$this->baseTemplateClass = $options['base_template_class'];
|
||||
$this->autoReload = null === $options['auto_reload'] ? $this->debug : (bool) $options['auto_reload'];
|
||||
$this->strictVariables = (bool) $options['strict_variables'];
|
||||
|
||||
Reference in New Issue
Block a user