diff --git a/src/Symfony/Component/EventDispatcher/Attribute/EventListener.php b/src/Symfony/Component/EventDispatcher/Attribute/EventListener.php index e82c69e891..a752673e56 100644 --- a/src/Symfony/Component/EventDispatcher/Attribute/EventListener.php +++ b/src/Symfony/Component/EventDispatcher/Attribute/EventListener.php @@ -22,7 +22,8 @@ class EventListener public function __construct( public ?string $event = null, public ?string $method = null, - public int $priority = 0 + public int $priority = 0, + public ?string $dispatcher = null, ) { } }