mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-20 14:36:57 +00:00
Remove unneeded coments
This commit is contained in:
@@ -510,12 +510,10 @@ class Environment
|
||||
return $name;
|
||||
}
|
||||
|
||||
// Optimization: Avoid throwing an exception when it would be ignored anyway.
|
||||
if (1 !== $count && !$this->getLoader()->exists($name)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Throws LoaderError: Unable to find template "%s".
|
||||
return $this->loadTemplate($name);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user