Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7fc2952

Browse filesBrowse files
committed
Code style
1 parent 299f747 commit 7fc2952
Copy full SHA for 7fc2952

File tree

1 file changed

+2
-0
lines changed
Filter options

1 file changed

+2
-0
lines changed

‎src/Symfony/Bundle/TwigBundle/DependencyInjection/Compiler/ExceptionListenerPass.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/TwigBundle/DependencyInjection/Compiler/ExceptionListenerPass.php
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,15 @@ public function process(ContainerBuilder $container)
3333
// register the exception listener only if it's currently used, else use the provided by FrameworkBundle
3434
if (null === $container->getParameter('twig.exception_listener.controller') && $container->hasDefinition('exception_listener')) {
3535
$container->removeDefinition('twig.exception_listener');
36+
3637
return;
3738
}
3839

3940
if ($container->hasParameter('templating.engines')) {
4041
$engines = $container->getParameter('templating.engines');
4142
if (\in_array('twig', $engines, true)) {
4243
$container->removeDefinition('exception_listener');
44+
4345
return;
4446
}
4547
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.