소스 검색

[TwigBundle] fixed typo

Fabien Potencier 14 년 전
부모
커밋
6b7e4ad2f9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;