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 ( e0f3c8...a998a7 )
by Dirk
26s
created

Endpoint::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 1

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 5
ccs 4
cts 4
cp 1
rs 9.4285
cc 1
eloc 3
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 35
    public function __construct(Request $request, Pinterest $master)
40
    {
41 35
        $this->request = $request;
42 35
        $this->master = $master;
43 35
    }
44
45
}