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.

Issue::jsonSerialize()   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
2
3
namespace JiraRestApi\Issue;
4
5
class Issue implements \JsonSerializable
6
{
7
    /**
8
     * return only if Project query by key(not id).
9
     *
10
     * @var string
11
     */
12
    public $expand;
13
14
    /**
15
     * @var string
16
     */
17
    public $self;
18
19
    /**
20
     * @var string
21
     */
22
    public $id;
23
24
    /**
25
     * @var string
26
     */
27
    public $key;
28
29
    /**
30
     * @var IssueField
31
     */
32
    public $fields;
33
34
    /** @var string[] */
35
    public $names;
36
37
    public function jsonSerialize()
38
    {
39
        return array_filter(get_object_vars($this));
40
    }
41
}
42