Преглед на файлове

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