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.

Endpoint   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 29
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
/**
3
 * Copyright 2015 Dirk Groenen
4
 *
5
 * (c) Dirk Groenen <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
namespace DirkGroenen\Pinterest\Endpoints;
12
13
use DirkGroenen\Pinterest\Transport\Request;
14
use DirkGroenen\Pinterest\Pinterest;
15
16
17
class Endpoint {
18
19
    /**
20
     * Instance of the request class
21
     *
22
     * @var Request
23
     */
24
    protected $request;
25
26
    /**
27
     * Instance of the master class
28
     *
29
     * @var Pinterest
30
     */
31
    protected $master;
32
33
    /**
34
     * Create a new model instance
35
     *
36
     * @param  Request              $request
37
     * @param  Pinterest            $master
38
     */
39 39
    public function __construct(Request $request, Pinterest $master)
40
    {
41 39
        $this->request = $request;
42 39
        $this->master = $master;
43 39
    }
44
45
}