Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Renamed variable for consistency

  • Loading branch information...
commit acbb39312cf008766eb3ab7ab75faf9f7c63115a 1 parent 00d132a
@DenisGorbachev authored
View
6 src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/X509Factory.php
@@ -27,9 +27,9 @@ class X509Factory implements SecurityFactoryInterface
{
public function create(ContainerBuilder $container, $id, $config, $userProvider, $defaultEntryPoint)
{
- $provider = 'security.authentication.provider.pre_authenticated.'.$id;
+ $providerId = 'security.authentication.provider.pre_authenticated.'.$id;
$container
- ->setDefinition($provider, new DefinitionDecorator('security.authentication.provider.pre_authenticated'))
+ ->setDefinition($providerId, new DefinitionDecorator('security.authentication.provider.pre_authenticated'))
->replaceArgument(0, new Reference($userProvider))
->addArgument($id)
;
@@ -41,7 +41,7 @@ public function create(ContainerBuilder $container, $id, $config, $userProvider,
$listener->replaceArgument(3, $config['user']);
$listener->replaceArgument(4, $config['credentials']);
- return array($provider, $listenerId, $defaultEntryPoint);
+ return array($providerId, $listenerId, $defaultEntryPoint);
}
public function getPosition()
Please sign in to comment.
Something went wrong with that request. Please try again.