Fixed type error.

This commit is contained in:
flash 2023-08-24 23:00:41 +00:00
parent acf25c28e0
commit f16e361bec
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
1.0.1-dev
1.0.2-dev

View file

@ -49,7 +49,7 @@ class SasaeEnvironment {
if(empty($cache))
throw new InvalidArgumentException('If $cache is an array, it may not be empty.');
$cache = SasaeFilesystemCache::create(array_shift($cache), array_shift($cache));
}
} elseif($cache === null) $cache = false;
$this->env = new TwigEnvironment($loader, [
'debug' => $debug,