[CodingStandards] Conformed to coding standards
This commit is contained in:
parent
d3fe07b160
commit
e9d951a882
@ -91,7 +91,7 @@ class FilesystemLoader extends \Twig_Loader_Filesystem
|
|||||||
if (false === $file || null === $file) {
|
if (false === $file || null === $file) {
|
||||||
list($namespace, $name) = $this->parseName($logicalName);
|
list($namespace, $name) = $this->parseName($logicalName);
|
||||||
$paths = $this->getPaths($namespace);
|
$paths = $this->getPaths($namespace);
|
||||||
array_walk($paths, function (&$path) use ($name) { $path .= '/' . $name; });
|
array_walk($paths, function (&$path) use ($name) { $path .= '/'.$name; });
|
||||||
throw new \Twig_Error_Loader(sprintf('Unable to find template "%s" (tried: %s).', $name, implode(', ', $paths)), -1, null, $previous);
|
throw new \Twig_Error_Loader(sprintf('Unable to find template "%s" (tried: %s).', $name, implode(', ', $paths)), -1, null, $previous);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user