Skip to content

Commit a7c8f37

Browse files
[EventDispatcher] add missing "dispatcher" property on #[EventListener]
1 parent 328f62b commit a7c8f37

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Attribute/EventListener.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ class EventListener
2222
public function __construct(
2323
public ?string $event = null,
2424
public ?string $method = null,
25-
public int $priority = 0
25+
public int $priority = 0,
26+
public ?string $dispatcher = null,
2627
) {
2728
}
2829
}

0 commit comments

Comments
 (0)