Skip to content

Commit fe082c1

Browse files
committed
declare new method parameters explicitly
1 parent 9782857 commit fe082c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Authorization/Strategy/AccessDecisionStrategyInterface.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ interface AccessDecisionStrategyInterface
2222
{
2323
/**
2424
* @param \Traversable<int> $results
25-
* @param ?AccessDecision $accessDecision
2625
*/
27-
public function decide(\Traversable $results/* , ?AccessDecision $accessDecision = null */): bool;
26+
public function decide(\Traversable $results, ?AccessDecision $accessDecision = null): bool;
2827
}

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ CHANGELOG
44
8.0
55
---
66

7+
* Add argument `$accessDecision` to `AccessDecisionStrategyInterface::decide()`
78
* Remove `PersistentTokenInterface::getClass()`
89
* Remove the user FQCN from the remember-me cookie
910
* Remove `RememberMeToken::getSecret()`

0 commit comments

Comments
 (0)