mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 11:03:50 +00:00
fixes from a first test
This commit is contained in:
@@ -11,6 +11,7 @@ declare(strict_types=1);
|
||||
|
||||
namespace Chill\TaskBundle\Security\Authorization;
|
||||
|
||||
use Chill\PersonBundle\Entity\AccompanyingPeriod;
|
||||
use Chill\PersonBundle\Entity\Person;
|
||||
use Chill\TaskBundle\Entity\AbstractTask;
|
||||
use Symfony\Component\EventDispatcher\Event;
|
||||
@@ -26,7 +27,7 @@ class AuthorizationEvent extends Event
|
||||
protected $vote;
|
||||
|
||||
public function __construct(
|
||||
private Person|AbstractTask|null $subject,
|
||||
private Person|AbstractTask|AccompanyingPeriod|null $subject,
|
||||
private string $attribute,
|
||||
private TokenInterface $token
|
||||
) {
|
||||
|
Reference in New Issue
Block a user