We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Total Complexity | 4 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | final class EventDispatcherVersionHelper |
||
12 | { |
||
13 | private static $isForLegacy; |
||
14 | |||
15 | /** |
||
16 | * @return bool |
||
17 | */ |
||
18 | public static function isForLegacy() |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * @param EventDispatcherInterface $dispatcher |
||
29 | * @param object $event |
||
30 | * @param string|null $eventName |
||
31 | * |
||
32 | * @return object the event |
||
33 | */ |
||
34 | public static function dispatch(EventDispatcherInterface $dispatcher, $event, $eventName) |
||
43 |