| 1 | <?php declare (strict_types=1); |
||
| 12 | final class TestHandler implements Subscriber |
||
| 13 | { |
||
| 14 | public $runCount = 0; |
||
| 15 | /** |
||
| 16 | * @param TestEvent $testEvent |
||
| 17 | */ |
||
| 18 | public function whenTestEvent(TestEvent $testEvent) |
||
| 22 | |||
| 23 | /** |
||
| 24 | * ['eventName' => 'methodName'] |
||
| 25 | * ['eventName' => ['methodName', $priority]] |
||
| 26 | * ['eventName' => [['methodName1', $priority], array['methodName2']] |
||
| 27 | * @return array |
||
| 28 | */ |
||
| 29 | public function getSubscribedEvents() |
||
| 33 | } |
||
| 34 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.