Merge branch '5.1' into 5.2

* 5.1:
  remove return type definition in order to avoid type juggling
This commit is contained in:
Alexander M. Turek 2020-11-30 23:47:11 +01:00
commit 0d9dd43ecc

View File

@ -33,7 +33,7 @@ class TraceableVoter implements VoterInterface
$this->eventDispatcher = $eventDispatcher; $this->eventDispatcher = $eventDispatcher;
} }
public function vote(TokenInterface $token, $subject, array $attributes): int public function vote(TokenInterface $token, $subject, array $attributes)
{ {
$result = $this->voter->vote($token, $subject, $attributes); $result = $this->voter->vote($token, $subject, $attributes);