From 3284859a1b160833e8afc2a40d04c33b94191e41 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Fri, 17 Dec 2021 08:44:00 -0800 Subject: [PATCH] Remove unneeded coments --- src/Environment.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Environment.php b/src/Environment.php index a0cb8c9e4..94e6d225e 100644 --- a/src/Environment.php +++ b/src/Environment.php @@ -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); }