Skip to content

Commit 48f5333

Browse files
committed
Renamed $providerKey to $firewallName
1 parent c0945ca commit 48f5333

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DependencyInjection/Security/Factory/AbstractFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ protected function createAuthenticationSuccessHandler(ContainerBuilder $containe
170170
} else {
171171
$successHandler = $container->setDefinition($successHandlerId, new ChildDefinition('security.authentication.success_handler'));
172172
$successHandler->addMethodCall('setOptions', [$options]);
173-
$successHandler->addMethodCall('setProviderKey', [$id]);
173+
$successHandler->addMethodCall('setFirewallName', [$id]);
174174
}
175175

176176
return $successHandlerId;

Tests/DependencyInjection/Security/Factory/AbstractFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public function testDefaultSuccessHandler($serviceId, $defaultHandlerInjection)
110110
if ($defaultHandlerInjection) {
111111
$this->assertEquals('setOptions', $methodCalls[0][0]);
112112
$this->assertEquals(['default_target_path' => '/bar'], $methodCalls[0][1][0]);
113-
$this->assertEquals('setProviderKey', $methodCalls[1][0]);
113+
$this->assertEquals('setFirewallName', $methodCalls[1][0]);
114114
$this->assertEquals(['foo'], $methodCalls[1][1]);
115115
} else {
116116
$this->assertCount(0, $methodCalls);

0 commit comments

Comments
 (0)