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   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 43
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A boot() 0 4 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