Passed
Push — master ( a8d415...e9058e )
by Kuts
01:33
created

ItemRef   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 16
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A id() 0 3 1
A timestampUsec() 0 3 1
A directStreamIds() 0 3 1
1
<?php declare(strict_types=1);
2
3
4
namespace ExileeD\Inoreader\Objects;
5
6
7
class ItemRef extends AbstractObject implements ObjectInterface
8
{
9
10
    public function id(): string
11
    {
12
        return $this->data->id;
13
    }
14
15
    public function directStreamIds():array
16
    {
17
        return $this->data->directStreamIds;
18
    }
19
20
    public function timestampUsec():string
21
    {
22
        return $this->data->timestampUsec;
23
    }
24
25
}