Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

[SecurityBundle] Renamed variable for consistency #6046

Merged
merged 1 commit into from

2 participants

@DenisGorbachev

Bug fix: no
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -
License of the code: MIT
Documentation PR: -

@fabpot fabpot referenced this pull request from a commit
@fabpot fabpot merged branch DenisGorbachev/patch-1 (PR #6046)
This PR was merged into the master branch.

Commits
-------

acbb393 Renamed variable for consistency

Discussion
----------

[SecurityBundle] Renamed variable for consistency

Bug fix: no
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -
License of the code: MIT
Documentation PR: -
b358748
@fabpot fabpot merged commit acbb393 into from
@mmucklo mmucklo referenced this pull request from a commit
@fabpot fabpot merged branch DenisGorbachev/patch-1 (PR #6046)
This PR was merged into the master branch.

Commits
-------

acbb393 Renamed variable for consistency

Discussion
----------

[SecurityBundle] Renamed variable for consistency

Bug fix: no
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -
License of the code: MIT
Documentation PR: -
8872d6b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 18, 2012
  1. @DenisGorbachev
This page is out of date. Refresh to see the latest.
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()
Something went wrong with that request. Please try again.