Fixed some deprecations.

This commit is contained in:
Jan Böhmer 2022-08-14 19:09:07 +02:00
parent 4fa8eef1bf
commit 5fd608f42a
59 changed files with 202 additions and 165 deletions

View file

@ -92,7 +92,7 @@ abstract class ExtendedVoter extends Voter
* Similar to voteOnAttribute, but checking for the anonymous user is already done.
* The current user (or the anonymous user) is passed by $user.
*
* @param string $attribute
* @param string $attribute
*/
abstract protected function voteOnUser($attribute, $subject, User $user): bool;
abstract protected function voteOnUser(string $attribute, $subject, User $user): bool;
}