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::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 5
c 0
b 0
f 0
ccs 4
cts 4
cp 1
rs 10
cc 1
nc 1
nop 2
crap 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
}