10000 #27121 WIP phpcs fixes · oleg-andreyev/symfony@85bf6d3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 85bf6d3

Browse files
committed
symfony#27121 WIP phpcs fixes
1 parent dbdba7e commit 85bf6d3

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/Symfony/Component/Security/Http/Firewall/AccessListener.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,17 @@ public function __construct(TokenStorageInterface $tokenStorage, AccessDecisionM
4242
$this->authorizationChecker = $authorizationChecker;
4343
}
4444

45+
/**
46+
* Handles access authorization.
47+
*
48+
* @throws AccessDeniedException
49+
* @throws AuthenticationCredentialsNotFoundException
50+
*/
4551
public function handle(GetResponseEvent $event)
4652
{
4753
if ($this->authorizationChecker) {
4854
$this->handleWithAuthorizationChecker($event);
55+
4956
return;
5057
}
5158

@@ -71,13 +78,6 @@ public function handle(GetResponseEvent $event)
7178
}
7279
}
7380

74-
/**
75-
* Handles access authorization with AuthorizationCheckerInterface.
76-
*
77-
* @param GetResponseEvent $event
78-
*
79-
* @throws AccessDeniedException
80-
*/
8181
private function handleWithAuthorizationChecker(GetResponseEvent $event)
8282
{
8383
$request = $event->getRequest();

src/Symfony/Component/Security/Http/Tests/Firewall/AccessListenerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,4 +375,4 @@ public function __construct($user, array $roles = array())
375375
public function getCredentials()
376376
{
377377
}
378-
}
378+
}

0 commit comments

Comments
 (0)
0