PHP Fatal error: Declaration of Pd\UserBundle\Security\SwitchUserVoter::voteOnAttribute(string $attribute, $subject, Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token) must be compatible with Symfony\Component\Security\Core\Authorization\Voter\Voter::voteOnAttribute($attribute, $subject, Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token) in /mnt/sda/www/nts-synchronizer/vendor/appaydin/pd-user/Security/SwitchUserVoter.php on line 50
On symfony 4.4 Pd\UserBundle\Security\SwitchUserVoter::voteOnAttribute signature is SwitchUserVoter::voteOnAttribute$attribute, $subject, TokenInterface $token), without string type hinting.
Platform: Symfony 4.4 composer require appaydin/pd-user
PHP Fatal error: Declaration of Pd\UserBundle\Security\SwitchUserVoter::voteOnAttribute(string $attribute, $subject, Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token) must be compatible with Symfony\Component\Security\Core\Authorization\Voter\Voter::voteOnAttribute($attribute, $subject, Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token) in /mnt/sda/www/nts-synchronizer/vendor/appaydin/pd-user/Security/SwitchUserVoter.php on line 50
On symfony 4.4 Pd\UserBundle\Security\SwitchUserVoter::voteOnAttribute signature is SwitchUserVoter::voteOnAttribute$attribute, $subject, TokenInterface $token), without string type hinting.