Fixed type error.
This commit is contained in:
parent
acf25c28e0
commit
f16e361bec
2 changed files with 2 additions and 2 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.0.1-dev
|
||||
1.0.2-dev
|
||||
|
|
|
@ -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,
|
||||
|
|
Reference in a new issue