Total Complexity | 2 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
7 | class AnalyticTrackedListener |
||
8 | { |
||
9 | /** |
||
10 | * The name of the queue the job should be sent to. |
||
11 | * |
||
12 | * @var string|null |
||
13 | */ |
||
14 | public $queue = 'analytics'; |
||
15 | |||
16 | /** |
||
17 | * Create the event listener. |
||
18 | * |
||
19 | * @return void |
||
20 | */ |
||
21 | public function __construct() |
||
22 | { |
||
23 | // |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * Handle the event. |
||
28 | * |
||
29 | * @param AnalyticTracked $event |
||
30 | * @return void |
||
31 | */ |
||
32 | public function handle(AnalyticTracked $event) |
||
34 | // |
||
35 | } |
||
37 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.