Explorar o código

[TwigBundle] fixed typo

Fabien Potencier %!s(int64=14) %!d(string=hai) anos
pai
achega
6b7e4ad2f9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Symfony/Bundle/TwigBundle/Loader/FilesystemLoader.php

+ 1 - 1
src/Symfony/Bundle/TwigBundle/Loader/FilesystemLoader.php

@@ -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;