Issue #3181367 by longwave, Kristen Pol: TwigEnvironment $loader argument cannot be NULL

merge-requests/366/head
catch 2021-02-26 10:03:46 +00:00
parent a6258c8bd8
commit e85f22ace0
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class TwigEnvironment extends Environment {
* @param array $options
* The options for the Twig environment.
*/
public function __construct($root, CacheBackendInterface $cache, $twig_extension_hash, StateInterface $state, LoaderInterface $loader = NULL, array $options = []) {
public function __construct($root, CacheBackendInterface $cache, $twig_extension_hash, StateInterface $state, LoaderInterface $loader, array $options = []) {
$this->state = $state;
$this->templateClasses = [];