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 ( d22bab...41c46a )
by Nikhil
15:46 queued 08:03
created

EventServiceProvider::boot()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
ccs 3
cts 3
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 1
crap 1
1
<?php
2
3
namespace App\Providers;
4
5
use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
6
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
7
8
class EventServiceProvider extends ServiceProvider
9
{
10
    /**
11
     * The event listener mappings for the application.
12
     *
13
     * @var array
14
     */
15
    protected $listen = [
16
        'App\Events\MakeWasCreated'           => [],
17
        'App\Events\MakeWasDeleted'           => [],
18
        'App\Events\WarehouseWasCreated'      => [],
19
        'App\Events\WarehouseWasUpdated'      => [],
20
        'App\Events\WarehouseWasDeleted'      => [],
21
        'App\Events\SupplierWasCreated'       => [],
22
        'App\Events\SupplierWasDeleted'       => [],
23
        'App\Events\PurchaseWasCreated'       => [
24
            'App\Listeners\GeneratePurchaseNotification',
25
        ],
26
        'App\Events\PurchaseWasDeleted'       => [],
27
        'App\Events\ModelWasCreated'          => [],
28
        'App\Events\ModelWasDeleted'          => [],
29
        'App\Events\GuitarWasCreated'         => [
30
            'App\Listeners\GenerateRackNotification',
31
        ],
32
        'App\Events\GuitarWasDeleted'         => [],
33
        'App\Events\SaleWasCreated'           => [],
34
        'App\Events\SaleWasDeleted'           => [],
35
        'App\Events\NotificationWasCreated'   => [],
36
        'App\Events\NotificationWasDismissed' => [],
37
    ];
38
39
    /**
40
     * Register any other events for your application.
41
     *
42
     * @param  \Illuminate\Contracts\Events\Dispatcher $events
43
     *
44
     * @return void
45
     */
46 90
    public function boot(DispatcherContract $events)
47
    {
48 90
        parent::boot($events);
49 90
    }
50
}
51