Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 754690d

Browse files
committed
Remove useless code
1 parent 9c737ce commit 754690d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Symfony/Bundle/SecurityBundle/DependencyInjection/Compiler/MakeFirewallsEventDispatcherTraceablePass.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020

2121
/**
2222
* @author Mathieu Lechat <[email protected]>
23-
*
24-
* @internal
2523
*/
2624
class MakeFirewallsEventDispatcherTraceablePass implements CompilerPassInterface
2725
{
@@ -31,7 +29,7 @@ public function process(ContainerBuilder $container)
3129
return;
3230
}
3331

34-
if (!$container->getParameter('kernel.debug') || !class_exists(Stopwatch::class) || !$container->has('debug.stopwatch')) {
32+
if (!$container->getParameter('kernel.debug') || !$container->has('debug.stopwatch')) {
3533
return;
3634
}
3735

0 commit comments

Comments
 (0)