GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

AnalyticTrackedListener::handle()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 0
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 2
rs 10
1
<?php
2
3
namespace AshPowell\APAnalytics\Listeners;
4
5
use AshPowell\APAnalytics\Events\AnalyticTracked;
6
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)
0 ignored issues
show
Unused Code introduced by
The parameter $event is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

32
    public function handle(/** @scrutinizer ignore-unused */ AnalyticTracked $event)

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
33
    {
34
        //
35
    }
36
}
37