Merge branch '5.1' into 5.2
* 5.1: remove return type definition in order to avoid type juggling
This commit is contained in:
commit
0d9dd43ecc
@ -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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user