mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-11 22:58:26 +00:00
apply rector rules: symfony **UP TO** 44
This commit is contained in:
@@ -95,7 +95,7 @@ final class TaskVoter extends AbstractChillVoter implements ProvideRoleHierarchy
|
||||
|
||||
$event = new AuthorizationEvent($subject, $attribute, $token);
|
||||
|
||||
$this->eventDispatcher->dispatch(AuthorizationEvent::VOTE, $event);
|
||||
$this->eventDispatcher->dispatch($event, AuthorizationEvent::VOTE);
|
||||
|
||||
if ($event->hasVote()) {
|
||||
$this->logger->debug('The TaskVoter is overriding by '
|
||||
|
||||
Reference in New Issue
Block a user