mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
N°8910 - Upgrade Symfony packages (#811)
This commit is contained in:
@@ -57,6 +57,9 @@ class PhpFileLoader extends FileLoader
|
||||
return include $path;
|
||||
}, $this, ProtectedPhpFileLoader::class);
|
||||
|
||||
$instanceof = $this->instanceof;
|
||||
$this->instanceof = [];
|
||||
|
||||
try {
|
||||
$callback = $load($path, $this->env);
|
||||
|
||||
@@ -64,7 +67,7 @@ class PhpFileLoader extends FileLoader
|
||||
$this->executeCallback($callback, new ContainerConfigurator($this->container, $this, $this->instanceof, $path, $resource, $this->env), $path);
|
||||
}
|
||||
} finally {
|
||||
$this->instanceof = [];
|
||||
$this->instanceof = $instanceof;
|
||||
$this->registerAliasesForSinglyImplementedInterfaces();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user