| Total Complexity | 3 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | { |
||
| 11 | public function testProvidesAllListeners(): void |
||
| 12 | { |
||
| 13 | $event = new Event(); |
||
| 14 | |||
| 15 | $provider1 = new class implements ListenerProviderInterface |
||
| 16 | { |
||
| 17 | public function getListenersForEvent(object $event): iterable |
||
| 23 | }; |
||
| 24 | |||
| 25 | $provider2 = new class implements ListenerProviderInterface |
||
| 26 | { |
||
| 27 | public function getListenersForEvent(object $event): iterable |
||
| 45 | } |
||
| 46 |