Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
7 | class ExampleListener |
||
8 | { |
||
9 | /** |
||
10 | * Create the event listener. |
||
11 | * |
||
12 | * @return void |
||
13 | */ |
||
14 | public function __construct() |
||
15 | { |
||
16 | // |
||
17 | } |
||
18 | |||
19 | /** |
||
20 | * Handle the event. |
||
21 | * |
||
22 | * @param ExampleEvent $event |
||
23 | * @return void |
||
24 | */ |
||
25 | public function handle(ExampleEvent $event) |
||
27 | // |
||
28 | } |
||
30 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.