Skip to content
This repository was archived by the owner on Dec 2, 2021. It is now read-only.

Commit 03ae4a3

Browse files
committed
Fix new Psalm issue
1 parent f460009 commit 03ae4a3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

DependencyInjection/Factory/Security/TwoFactorFactory.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,20 +88,20 @@ public function addConfiguration(NodeDefinition $node)
8888
/**
8989
* @param string $id
9090
* @param array $config
91-
* @param string $userProvider
92-
* @param string|null $defaultEntryPoint
91+
* @param string $userProviderId
92+
* @param string|null $defaultEntryPointId
9393
*
9494
* @return array
9595
*/
96-
public function create(ContainerBuilder $container, $id, $config, $userProvider, $defaultEntryPoint)
96+
public function create(ContainerBuilder $container, $id, $config, $userProviderId, $defaultEntryPointId)
9797
{
9898
$providerId = $this->createAuthenticationProvider($container, $id, $config);
9999
$listenerId = $this->createAuthenticationListener($container, $id, $config);
100100
$this->createProviderPreparationListener($container, $id, $config);
101101
$this->createAuthenticationSuccessEventSuppressor($container, $id);
102102
$this->createTwoFactorFirewallConfig($container, $id, $config);
103103

104-
return [$providerId, $listenerId, $defaultEntryPoint];
104+
return [$providerId, $listenerId, $defaultEntryPointId];
105105
}
106106

107107
private function createAuthenticationProvider(ContainerBuilder $container, string $firewallName, array $config): string

0 commit comments

Comments
 (0)