fixed various small bugs

This commit is contained in:
Fabien Potencier
2019-04-16 17:25:44 +02:00
parent f8b076b949
commit d2cd4d9cfa
6 changed files with 20 additions and 19 deletions
+1
View File
@@ -470,6 +470,7 @@ class Environment
$this->cache->load($key);
}
$source = null;
if (!class_exists($cls, false)) {
$loader = $this->getLoader();
if (!$loader instanceof SourceContextLoaderInterface) {