[TwigBundle] Fixed error message
This commit is contained in:
parent
5f6a17b8cc
commit
dc4d3437ce
@ -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();
|
||||
|
Reference in New Issue
Block a user