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.

Locations   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 1
dl 0
loc 24
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A buildSpecificEntryUrl() 0 7 1
1
<?php
2
3
namespace Choccybiccy\HumanApi\Endpoint;
4
5
use Choccybiccy\HumanApi\Endpoint;
6
7
/**
8
 * Class Locations
9
 * @package Choccybiccy\HumanApi\Endpoint
10
 */
11
class Locations extends SimpleEndpoint
12
{
13
14
    /**
15
     * @var string
16
     */
17
    protected $type = "locations";
18
19
    /**
20
     * @var bool
21
     */
22
    protected $listReturnsArray = true;
23
24
    /**
25
     * {@inheritDoc}
26
     */
27
    protected function buildSpecificEntryUrl($id)
28
    {
29
        return $this->buildUrlParts(array(
30
            $this->type,
31
            $id,
32
        ));
33
    }
34
}
35