Skip to content

Commit

Permalink
Renamed variable for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Gorbachev authored and Denis Gorbachev committed Nov 18, 2012
1 parent 00d132a commit acbb393
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ class X509Factory implements SecurityFactoryInterface
{ {
public function create(ContainerBuilder $container, $id, $config, $userProvider, $defaultEntryPoint) public function create(ContainerBuilder $container, $id, $config, $userProvider, $defaultEntryPoint)
{ {
$provider = 'security.authentication.provider.pre_authenticated.'.$id; $providerId = 'security.authentication.provider.pre_authenticated.'.$id;
$container $container
->setDefinition($provider, new DefinitionDecorator('security.authentication.provider.pre_authenticated')) ->setDefinition($providerId, new DefinitionDecorator('security.authentication.provider.pre_authenticated'))
->replaceArgument(0, new Reference($userProvider)) ->replaceArgument(0, new Reference($userProvider))
->addArgument($id) ->addArgument($id)
; ;
Expand All @@ -41,7 +41,7 @@ public function create(ContainerBuilder $container, $id, $config, $userProvider,
$listener->replaceArgument(3, $config['user']); $listener->replaceArgument(3, $config['user']);
$listener->replaceArgument(4, $config['credentials']); $listener->replaceArgument(4, $config['credentials']);


return array($provider, $listenerId, $defaultEntryPoint); return array($providerId, $listenerId, $defaultEntryPoint);
} }


public function getPosition() public function getPosition()
Expand Down

0 comments on commit acbb393

Please sign in to comment.