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.

People::apiKeys()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php  namespace Rossedman\Teamwork; 
2
3
use Rossedman\Teamwork\Traits\RestfulTrait;
4
5
class People extends AbstractObject {
6
7
    use RestfulTrait;
8
9
    protected $wrapper  = 'person';
10
11
    protected $endpoint = 'people';
12
13
    /**
14
     * GET /people.json
15
     *
16
     * @return mixed
17
     */
18
    public function all($args = null)
19
    {
20
        $this->areArgumentsValid($args, ['page', 'pageSize', 'emailaddress']);
21
22
        return $this->client->get($this->endpoint, $args)->response();
23
    }
24
25
    /**
26
     * GET /me.json
27
     */
28
    public function me()
29
    {
30
        return $this->client->get("me")->response();
31
    }
32
33
    /**
34
     * Get All API Keys
35
     * GET /people/APIKeys.json
36
     *
37
     * @return mixed
38
     */
39
    public function apiKeys()
40
    {
41
        return $this->client->get("$this->endpoint/APIKeys")->response();
42
    }
43
44
}