From d14f0bf71f787c60ce742325531e82e02e024485 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Tue, 31 May 2016 21:27:35 +0200 Subject: [PATCH] add missing hint for vote() argument type --- UPGRADE-3.0.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/UPGRADE-3.0.md b/UPGRADE-3.0.md index 8c509b36f0..2dd04e8b64 100644 --- a/UPGRADE-3.0.md +++ b/UPGRADE-3.0.md @@ -1042,6 +1042,9 @@ UPGRADE FROM 2.x to 3.0 introduced in 2.8, and move your voting logic to the to the `supports($attribute, $subject)` and `voteOnAttribute($attribute, $object, TokenInterface $token)` methods. + * The `vote()` method from the `VoterInterface` was changed to now accept arbitrary + types, and not only objects. + * The `supportsClass` and `supportsAttribute` methods were removed from the `VoterInterface` interface.