Skip to content

Commit 36578f3

Browse files
committed
minor #9678 [HttpKernel] use static late binding when dumping out container (tgabi333)
This PR was submitted for the 2.2 branch but it was merged into the 2.3 branch instead (closes #9678). Discussion ---------- [HttpKernel] use static late binding when dumping out container | Q | A | ------------- | --- | Bug fix? | no | New feature? | no? | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #9649 | License | MIT | Doc PR | This PR gives the ability to override the stripComments method in descendants (and to disable the memory-eater container whitespace stripping) Commits ------- 2e241cc [HttpKernel] use static late binding when dumping out container
2 parents 147e648 + 3c0ae6b commit 36578f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Kernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ protected function dumpContainer(ConfigCache $cache, ContainerBuilder $container
714714

715715
$content = $dumper->dump(array('class' => $class, 'base_class' => $baseClass));
716716
if (!$this->debug) {
717-
$content = self::stripComments($content);
717+
$content = static::stripComments($content);
718718
}
719719

720720
$cache->write($content, $container->getResources());

0 commit comments

Comments
 (0)