8000 [WebProfilerBundle] fix version check · symfony/symfony@946eefa · GitHub
[go: up one dir, main page]

Skip to content

Commit 946eefa

Browse files
[WebProfilerBundle] fix version check
1 parent c362622 commit 946eefa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/WebProfilerBundle/DependencyInjection/WebProfilerExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function load(array $configs, ContainerBuilder $container)
5757
$container->setParameter('web_profiler.debug_toolbar.mode', $config['toolbar'] ? WebDebugToolbarListener::ENABLED : WebDebugToolbarListener::DISABLED);
5858
}
5959

60-
if (Kernel::VERSION_ID >= 30408 || Kernel::VERSION_ID >= 40008) {
60+
if (Kernel::VERSION_ID >= 40008 || (Kernel::VERSION_ID >= 30408 && Kernel::VERSION_ID < 40000)) {
6161
$container->getDefinition('debug.file_link_formatter')
6262
->replaceArgument(3, new ServiceClosureArgument(new Reference('debug.file_link_formatter.url_format')));
6363
}

0 commit comments

Comments
 (0)
0