Add comment into TwigEnvironment

This commit is contained in:
Matias Griese
2021-12-09 21:18:10 +02:00
parent f2a7833933
commit 420a4e3566

View File

@@ -40,6 +40,7 @@ class TwigEnvironment extends Environment
return $name;
}
// Avoid throwing an exception as it is really slow to handle.
if (1 !== $count && !$this->getLoader()->exists($name)) {
continue;
}