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 ( 450c8a...e6efaa )
by Freek
7s
created

AuthorizeServiceProvider::boot()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
3
namespace Spatie\Authorize;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class AuthorizeServiceProvider extends ServiceProvider
8
{
9
    /**
10
     * Indicates if loading of the provider is deferred.
11
     *
12
     * @var bool
13
     */
14
    protected $defer = false;
15
    
16
    /**
17
     * Bootstrap the application events.
18
     */
19
    public function boot()
20
    {
21
        $this->publishes([
22
            __DIR__.'/../resources/config/laravel-authorize.php' => config_path('laravel-authorize.php'),
23
        ]);
24
    }
25
26
    /**
27
     * Register the service provider.
28
     */ 
29
    public function register()
30
    {
31
        //
32
    }
33
}
34