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.

MeasurementEndpoint::buildListUrl()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 7
Ratio 100 %

Importance

Changes 0
Metric Value
dl 7
loc 7
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 4
nc 1
nop 0
1
<?php
2
3
namespace Choccybiccy\HumanApi\Endpoint;
4
5
use Choccybiccy\HumanApi\Endpoint;
6
7
/**
8
 * Class MeasurementEndpoint
9
 * @package Choccybiccy\HumanApi\Endpoint
10
 */
11 View Code Duplication
abstract class MeasurementEndpoint extends Endpoint
12
{
13
14
    /**
15
     * @var string
16
     */
17
    protected $plural = "readings";
18
19
    /**
20
     * {@inheritDoc}
21
     */
22
    protected function buildSpecificEntryUrl($id)
23
    {
24
        return $this->buildUrlParts(array(
25
            $this->type,
26
            $this->plural,
27
            $id
28
        ));
29
    }
30
31
    /**
32
     * {@inheritDoc}
33
     */
34
    protected function buildListUrl()
35
    {
36
        return $this->buildUrlParts(array(
37
            $this->type,
38
            $this->plural,
39
        ));
40
    }
41
42
    /**
43
     * {@inheritDoc}
44
     */
45
    protected function buildRecentUrl()
46
    {
47
        return $this->buildUrlParts(array(
48
            $this->type,
49
        ));
50
    }
51
}
52