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 ( 1f9fc2...26f748 )
by Andrei
09:39
created

ServiceProvider::mergeConfigs()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Neurony\QueryCache;
4
5
use Illuminate\Contracts\Foundation\Application;
6
use Neurony\QueryCache\Services\QueryCacheService;
7
use Neurony\QueryCache\Contracts\QueryCacheServiceContract;
8
use Illuminate\Support\ServiceProvider as BaseServiceProvider;
9
10
class ServiceProvider extends BaseServiceProvider
11
{
12
    /**
13
     * Create a new service provider instance.
14
     *
15
     * @param Application $app
16
     */
17
    public function __construct(Application $app)
18
    {
19
        parent::__construct($app);
20
    }
21
22
    /**
23
     * Bootstrap the application services.
24
     *
25
     * @return void
26
     */
27
    public function boot()
28
    {
29
        $this->publishConfigs();
30
    }
31
32
    /**
33
     * Register the application services.
34
     *
35
     * @return void
36
     */
37
    public function register()
38
    {
39
        $this->registerBindings();
40
    }
41
42
    /**
43
     * @return void
44
     */
45
    protected function publishConfigs()
46
    {
47
        $this->publishes([
48
            __DIR__.'/../config/query-cache.php' => config_path('query-cache.php'),
49
        ], 'config');
50
    }
51
52
    /**
53
     * @return void
54
     */
55
    protected function registerBindings()
56
    {
57
        $this->app->singleton(QueryCacheServiceContract::class, QueryCacheService::class);
58
        $this->app->alias(QueryCacheServiceContract::class, 'cache.query');
59
    }
60
}
61