| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | final class UpdateTeamRankSubscriber implements EventSubscriberInterface |
||
| 10 | { |
||
| 11 | private RankUpdateInterface $rankUpdateHandler; |
||
| 12 | |||
| 13 | public function __construct(RankUpdateInterface $rankUpdateHandler) |
||
| 16 | } |
||
| 17 | |||
| 18 | public static function getSubscribedEvents(): array |
||
| 22 | ]; |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param Event $event |
||
| 27 | */ |
||
| 28 | public function process(Event $event): void |
||
| 37 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.