Skip to content

Commit 79d396b

Browse files
committed
Merge branch '4.4'
* 4.4: [Mailer] simplified the way TLS/SSL/StartTls work [VarDumper] Add test dump image Allow exchange type headers binding Add types to private and final methods. [Messenger] InMemoryTransport handle acknowledged and rejected messages [Intl] Validate region preferred alpha code mapping Added ErrorHandler::call() method utility to turns any PHP warnings into `\ErrorException` [Intl] Full alpha3 language support [Monolog] Added ElasticsearchLogstashHandler
2 parents 049fc57 + a2db48e commit 79d396b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Authorization/AccessDecisionManager.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function decide(TokenInterface $token, array $attributes, $object = null)
6666
* If all voters abstained from voting, the decision will be based on the
6767
* allowIfAllAbstainDecisions property value (defaults to false).
6868
*/
69-
private function decideAffirmative(TokenInterface $token, array $attributes, $object = null)
69+
private function decideAffirmative(TokenInterface $token, array $attributes, $object = null): bool
7070
{
7171
$deny = 0;
7272
foreach ($this->voters as $voter) {
@@ -106,7 +106,7 @@ private function decideAffirmative(TokenInterface $token, array $attributes, $ob
106106
* If all voters abstained from voting, the decision will be based on the
107107
* allowIfAllAbstainDecisions property value (defaults to false).
108108
*/
109-
private function decideConsensus(TokenInterface $token, array $attributes, $object = null)
109+
private function decideConsensus(TokenInterface $token, array $attributes, $object = null): bool
110110
{
111111
$grant = 0;
112112
$deny = 0;
@@ -147,7 +147,7 @@ private function decideConsensus(TokenInterface $token, array $attributes, $obje
147147
* If all voters abstained from voting, the decision will be based on the
148148
* allowIfAllAbstainDecisions property value (defaults to false).
149149
*/
150-
private function decideUnanimous(TokenInterface $token, array $attributes, $object = null)
150+
private function decideUnanimous(TokenInterface $token, array $attributes, $object = null): bool
151151
{
152152
$grant = 0;
153153
foreach ($this->voters as $voter) {

0 commit comments

Comments
 (0)