From 2e241cc606d1362698cef86a10791787bbd6545c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=B3th=20G=C3=A1bor?= Date: Mon, 2 Dec 2013 15:32:33 +0100 Subject: [PATCH] [HttpKernel] use static late binding when dumping out container --- src/Symfony/Component/HttpKernel/Kernel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/HttpKernel/Kernel.php b/src/Symfony/Component/HttpKernel/Kernel.php index 200d9de29481..6ffa4e3e117c 100644 --- a/src/Symfony/Component/HttpKernel/Kernel.php +++ b/src/Symfony/Component/HttpKernel/Kernel.php @@ -690,7 +690,7 @@ protected function dumpContainer(ConfigCache $cache, ContainerBuilder $container $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());