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 ( b8f451...161d28 )
by Dwight
9s
created

ApnServiceProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 3

Test Coverage

Coverage 0%

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 1
c 2
b 0
f 0
lcom 1
cbo 3
dl 0
loc 15
ccs 0
cts 11
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A boot() 0 12 1
1
<?php
2
3
namespace NotificationChannels\Apn;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class ApnServiceProvider extends ServiceProvider
8
{
9
    public function boot()
10
    {
11
        $this->app->bind(ApnCredentials::class, function ($app) {
12
            $config = $app['config'];
13
14
            return new ApnCredentials(
15
                $config->get('broadcasting.connections.apn.environment'),
16
                $config->get('broadcasting.connections.apn.certificate'),
17
                $config->get('broadcasting.connections.apn.pass_phrase')
18
            );
19
        });
20
    }
21
}
22