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 de2564a

Browse filesBrowse files
committed
corrections proposed by stof
1 parent 09ded4f commit de2564a
Copy full SHA for de2564a

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed

‎src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ public function onKernelException(GetResponseForExceptionEvent $event)
9696

9797
return;
9898
}
99+
break;
99100
} elseif ($exception instanceof AccessDeniedException) {
100101
$event->setException(new AccessDeniedHttpException($exception->getMessage(), $exception));
101102

@@ -144,16 +145,15 @@ public function onKernelException(GetResponseForExceptionEvent $event)
144145
return;
145146
}
146147
}
148+
break;
147149
} elseif ($exception instanceof LogoutException) {
148150
if (null !== $this->logger) {
149151
$this->logger->info(sprintf('Logout exception occurred; wrapping with AccessDeniedHttpException (%s)', $exception->getMessage()));
150152
}
151153

152154
return;
153-
} else {
154-
if (null === $exception->getPrevious()) {
155-
return;
156-
}
155+
} elseif (null === $exception->getPrevious()) {
156+
return;
157157
}
158158
$exception = $exception->getPrevious();
159159
}

0 commit comments

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