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 ( 7270bd...00b768 )
by Shea
08:40 queued 04:07
created

GeneratorServiceProvider::boot()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
namespace Caffeinated\Modules\Providers;
3
4
use Illuminate\Support\ServiceProvider;
5
6
class GeneratorServiceProvider extends ServiceProvider
7
{
8
    /**
9
     * Bootstrap the application services.
10
     *
11
     * @return void
12
     */
13
    public function boot()
14
    {
15
        //
16
    }
17
18
    /**
19
     * Register the application services.
20
     *
21
     * @return void
22
     */
23
    public function register()
24
    {
25
        $this->registerMakeModuleCommand();
26
    }
27
28
    /**
29
     * Register the module:make command.
30
     *
31
     * @return void
32
     */
33
    private function registerMakeModuleCommand()
34
    {
35
        $this->app->singleton('command.make.module', function($app) {
36
            return $app['Caffeinated\Modules\Console\Generators\MakeModuleCommand'];
37
        });
38
39
        $this->commands('command.make.module');
40
    }
41
}
42