diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2014-10-26 08:31:56 +0100 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2014-10-26 08:31:56 +0100 |
commit | 33dbf427824a8f01fe7fbc1adae208a12c5b8a87 (patch) | |
tree | a49123d8fc0a52c5d030203bfdc40dd54571dcb7 /Http/Authentication | |
parent | 573f2ce8b9c550c2b8215fd590619d52dae7f9cc (diff) | |
parent | 2f5a2d1b21b05f07bb7dc301d504766edb7dcd9b (diff) | |
download | symfony-security-33dbf427824a8f01fe7fbc1adae208a12c5b8a87.zip symfony-security-33dbf427824a8f01fe7fbc1adae208a12c5b8a87.tar.gz symfony-security-33dbf427824a8f01fe7fbc1adae208a12c5b8a87.tar.bz2 |
minor #12293 Remove aligned '=>' and '=' (disquedur)
This PR was squashed before being merged into the 2.3 branch (closes #12293).
Discussion
----------
Remove aligned '=>' and '='
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | [https://github.com/symfony/symfony/issues/12284]
| License | MIT
Could you said to me if i should make an other PR for 2.5 branch.
Commits
-------
51312d3 Remove aligned '=>' and '='
Diffstat (limited to 'Http/Authentication')
-rw-r--r-- | Http/Authentication/DefaultAuthenticationFailureHandler.php | 10 | ||||
-rw-r--r-- | Http/Authentication/DefaultAuthenticationSuccessHandler.php | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/Http/Authentication/DefaultAuthenticationFailureHandler.php b/Http/Authentication/DefaultAuthenticationFailureHandler.php index db96e67..b3c5c4d 100644 --- a/Http/Authentication/DefaultAuthenticationFailureHandler.php +++ b/Http/Authentication/DefaultAuthenticationFailureHandler.php @@ -46,13 +46,13 @@ class DefaultAuthenticationFailureHandler implements AuthenticationFailureHandle public function __construct(HttpKernelInterface $httpKernel, HttpUtils $httpUtils, array $options, LoggerInterface $logger = null) { $this->httpKernel = $httpKernel; - $this->httpUtils = $httpUtils; - $this->logger = $logger; + $this->httpUtils = $httpUtils; + $this->logger = $logger; $this->options = array_merge(array( - 'failure_path' => null, - 'failure_forward' => false, - 'login_path' => '/login', + 'failure_path' => null, + 'failure_forward' => false, + 'login_path' => '/login', 'failure_path_parameter' => '_failure_path', ), $options); } diff --git a/Http/Authentication/DefaultAuthenticationSuccessHandler.php b/Http/Authentication/DefaultAuthenticationSuccessHandler.php index 54d6fc1..591a28d 100644 --- a/Http/Authentication/DefaultAuthenticationSuccessHandler.php +++ b/Http/Authentication/DefaultAuthenticationSuccessHandler.php @@ -36,14 +36,14 @@ class DefaultAuthenticationSuccessHandler implements AuthenticationSuccessHandle */ public function __construct(HttpUtils $httpUtils, array $options) { - $this->httpUtils = $httpUtils; + $this->httpUtils = $httpUtils; $this->options = array_merge(array( 'always_use_default_target_path' => false, - 'default_target_path' => '/', - 'login_path' => '/login', - 'target_path_parameter' => '_target_path', - 'use_referer' => false, + 'default_target_path' => '/', + 'login_path' => '/login', + 'target_path_parameter' => '_target_path', + 'use_referer' => false, ), $options); } |