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.
Completed
Push — master ( 6d67f8...8413b3 )
by James
01:55
created

EventServiceProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 26
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A boot() 0 4 1
1
<?php
2
declare(strict_types=1);
3
4
5
namespace PragmaRX\Google2FALaravel\Providers;
6
7
use Illuminate\Auth\Events\Logout;
8
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
9
use PragmaRX\Google2FALaravel\Events\LoggedOut;
10
use PragmaRX\Google2FALaravel\Listeners\DeleteDBToken;
11
12
/**
13
 * Class EventServiceProvider
14
 */
15
class EventServiceProvider extends ServiceProvider
16
{
17
18
    /**
19
     * The event handler mappings for the application.
20
     *
21
     * @var array
22
     */
23
    protected $listen
24
        = [
25
            Logout::class    => [
26
                DeleteDBToken::class,
27
            ],
28
        ];
29
30
    /**
31
     * Register any events for your application.
32
     *
33
     * @return void
34
     */
35 15
    public function boot(): void
36
    {
37 15
        parent::boot();
38 15
    }
39
40
}
41