Skip to content

Commit a6df56f

Browse files
committed
Merge branch '2.2' into 2.3
* 2.2: [Locale] added support for the position argument to NumberFormatter::parse() [Locale] added some more stubs for the number formatter [Yaml] fixed typo [Yaml] fixed a test on PHP < 5.4 [DomCrawler]Crawler guess charset from html fixed PHP 5.3 compatibility [Yaml] reverted previous merge partially (refs #8897) [Security] remove unused logger [Security] fix typo [Yaml] Fixed filename in the ParseException message Conflicts: src/Symfony/Component/Console/Input/InputDefinition.php src/Symfony/Component/Locale/Stub/StubNumberFormatter.php src/Symfony/Component/Locale/Tests/Stub/StubNumberFormatterTest.php
2 parents 3d9deb4 + 7c2c121 commit a6df56f

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Firewall/AccessListener.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use Symfony\Component\Security\Core\Authorization\AccessDecisionManagerInterface;
1616
use Symfony\Component\Security\Http\AccessMapInterface;
1717
use Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface;
18-
use Psr\Log\LoggerInterface;
1918
use Symfony\Component\HttpKernel\Event\GetResponseEvent;
2019
use Symfony\Component\Security\Core\Exception\AuthenticationCredentialsNotFoundException;
2120
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
@@ -31,15 +30,13 @@ class AccessListener implements ListenerInterface
3130
private $accessDecisionManager;
3231
private $map;
3332
private $authManager;
34-
private $logger;
3533

36-
public function __construct(SecurityContextInterface $context, AccessDecisionManagerInterface $accessDecisionManager, AccessMapInterface $map, AuthenticationManagerInterface $authManager, LoggerInterface $logger = null)
34+
public function __construct(SecurityContextInterface $context, AccessDecisionManagerInterface $accessDecisionManager, AccessMapInterface $map, AuthenticationManagerInterface $authManager)
3735
{
3836
$this->context = $context;
3937
$this->accessDecisionManager = $accessDecisionManager;
4038
$this->map = $map;
4139
$this->authManager = $authManager;
42-
$this->logger = $logger;
4340
}
4441

4542
/**

FirewallMapInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ interface FirewallMapInterface
2424
* Returns the authentication listeners, and the exception listener to use
2525
* for the given request.
2626
*
27-
* If there are no authentication listeners, the first inner are must be
27+
* If there are no authentication listeners, the first inner array must be
2828
* empty.
2929
*
3030
* If there is no exception listener, the second element of the outer array

0 commit comments

Comments
 (0)