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