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.

Meals::buildSpecificEntryUrl()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 7
rs 9.4285
cc 1
eloc 4
nc 1
nop 1
1
<?php
2
3
namespace Choccybiccy\HumanApi\Endpoint;
4
5
use Choccybiccy\HumanApi\Endpoint;
6
7
/**
8
 * Class Meals
9
 * @package Choccybiccy\HumanApi\Endpoint
10
 */
11
class Meals extends SimpleEndpoint
12
{
13
14
    /**
15
     * @var string
16
     */
17
    protected $type = "food/meals";
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