From 668431fc09f22c0975c3151ed0b3f3c038f112b5 Mon Sep 17 00:00:00 2001 From: Bernard van der Esch Date: Mon, 30 Nov 2020 18:07:19 +0100 Subject: [PATCH] remove return type definition in order to avoid type juggling --- .../Security/Core/Authorization/Voter/TraceableVoter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Security/Core/Authorization/Voter/TraceableVoter.php b/src/Symfony/Component/Security/Core/Authorization/Voter/TraceableVoter.php index ab9e144e9fc79..81ec62c14677b 100644 --- a/src/Symfony/Component/Security/Core/Authorization/Voter/TraceableVoter.php +++ b/src/Symfony/Component/Security/Core/Authorization/Voter/TraceableVoter.php @@ -39,7 +39,7 @@ public function __construct(VoterInterface $voter, EventDispatcherInterface $eve } } - public function vote(TokenInterface $token, $subject, array $attributes): int + public function vote(TokenInterface $token, $subject, array $attributes) { $result = $this->voter->vote($token, $subject, $attributes);