[TwigBundle] Fixed error message

This commit is contained in:
Arnaud Kleinpeter 2012-07-09 23:12:46 +02:00
parent 5f6a17b8cc
commit dc4d3437ce
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ EOF
}
if (0 !== strpos($filename, '@') && !is_readable($filename)) {
throw new \RuntimeException("File or directory '%s' is not readable");
throw new \RuntimeException(sprintf('File or directory "%s" is not readable', $filename));
}
$files = array();