Skip to content

Commit 85fd9f3

Browse files
committed
This should be 3 not 4, otherwiser I get the following error:
OutOfBoundsException: The index "4" is not in the range [0, 3].
1 parent 695c00a commit 85fd9f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ private function createFirewall(ContainerBuilder $container, $id, $firewall, &$a
287287

288288
// add logout success handler
289289
if (isset($firewall['logout']['success_handler'])) {
290-
$listener->replaceArgument(4, new Reference($firewall['logout']['success_handler']));
290+
$listener->replaceArgument(3, new Reference($firewall['logout']['success_handler']));
291291
}
292292

293293
// add CSRF provider

0 commit comments

Comments
 (0)