feat: upgrade to symfony 7.4

This commit is contained in:
fromme committed 2026-09-01 11:24:44 +02:00
1 parent 8ed20db90c
commit 2459af122f
41 files changed
+1527 -1219

No files matched your search

+2 -1
View File
@@ -7,6 +7,7 @@ use App\Entity\Upload;
use App\Entity\User;
use Symfony\Bundle\SecurityBundle\Security;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Core\Authorization\Voter\Vote;
use Symfony\Component\Security\Core\Authorization\Voter\Voter;
class DispositionVoter extends Voter
@@ -44,7 +45,7 @@ class DispositionVoter extends Voter
]);
}
protected function voteOnAttribute(string $attribute, mixed $subject, TokenInterface $token): bool
protected function voteOnAttribute(string $attribute, mixed $subject, TokenInterface $token, ?Vote $vote = null): bool
{
/** @var Disposition $disposition */
$disposition = $subject;