Passed
Push — master ( bbba47...f8583f )
by KwangSeob
03:39
created

Status   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 5
dl 0
loc 14
rs 10
c 1
b 0
f 1
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A jsonSerialize() 0 3 1
1
<?php
2
3
namespace JiraRestApi\Status;
4
5
6
class Status implements \JsonSerializable
7
{
8
    /** @var int */
9
    public $id;
10
11
    /** @var string */
12
    public $name;
13
14
    /** @var string */
15
    public $description;
16
17
    public function jsonSerialize()
18
    {
19
        return array_filter(get_object_vars($this));
20
    }
21
}
22