[HttpKernel] use static late binding when dumping out container
This commit is contained in:
parent
05b17555d4
commit
2e241cc606
@ -690,7 +690,7 @@ abstract class Kernel implements KernelInterface, TerminableInterface
|
||||
$dumper = new PhpDumper($container);
|
||||
$content = $dumper->dump(array('class' => $class, 'base_class' => $baseClass));
|
||||
if (!$this->debug) {
|
||||
$content = self::stripComments($content);
|
||||
$content = static::stripComments($content);
|
||||
}
|
||||
|
||||
$cache->write($content, $container->getResources());
|
||||
|
Reference in New Issue
Block a user