Skip to content

Commit daee95f

Browse files
committed
[FrameworkBundle] fix lint:container command
1 parent fc5abf6 commit daee95f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Command/ContainerLintCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ private function getContainerBuilder(): ContainerBuilder
8080

8181
$kernel = $this->getApplication()->getKernel();
8282
$container = $kernel->getContainer();
83-
$file = $container->isDebug() ? $container->getParameter('debug.container.dump') : false;
83+
$file = $kernel->isDebug() ? $container->getParameter('debug.container.dump') : false;
8484

8585
if (!$file || !(new ConfigCache($file, true))->isFresh()) {
8686
if (!$kernel instanceof Kernel) {

0 commit comments

Comments
 (0)