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.

BattleCalcServiceProvider   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 41
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A boot() 0 5 1
A register() 0 4 1
A provides() 0 4 1
1
<?php namespace Xaoc303\BattleCalc;
2
3
use Illuminate\Support\ServiceProvider;
4
5
/**
6
 * Class BattleCalcServiceProvider
7
 * @package Xaoc303\BattleCalc
8
 */
9
class BattleCalcServiceProvider extends ServiceProvider
10
{
11
12
    /**
13
     * Indicates if loading of the provider is deferred.
14
     *
15
     * @var bool
16
     */
17
    protected $defer = false;
18
19
    /**
20
     * Bootstrap the application events.
21
     *
22
     * @return void
23
     */
24
    public function boot()
25
    {
26
        $this->package('xaoc303/battle-calc');
27
        include __DIR__.'/../../routes.php';
28
    }
29
30
    /**
31
     * Register the service provider.
32
     *
33
     * @return void
34
     */
35
    public function register()
36
    {
37
        //
38
    }
39
40
    /**
41
     * Get the services provided by the provider.
42
     *
43
     * @return array
44
     */
45
    public function provides()
46
    {
47
        return array();
48
    }
49
}
50