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   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 37
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A jsonSerialize() 0 4 1
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