[TwigBundle] fixed typo

This commit is contained in:
Fabien Potencier 2011-02-04 00:54:09 +01:00
parent 5516ac21a2
commit 6b7e4ad2f9

View File

@ -93,7 +93,7 @@ class FilesystemLoader implements \Twig_LoaderInterface
}
if (false === $file || null === $file) {
throw new \Twig_Error_Loader(sprintf('Unable to find template "%s".', $name), 0, $previous);
throw new \Twig_Error_Loader(sprintf('Unable to find template "%s".', $name), 0, null, $previous);
}
return $this->cache[$key] = $file;