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   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 2
c 2
b 0
f 0
lcom 0
cbo 1
dl 0
loc 27
rs 10

2 Methods

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