ItemRef   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 2
Bugs 0 Features 0
Metric Value
eloc 4
c 2
b 0
f 0
dl 0
loc 16
ccs 0
cts 6
cp 0
rs 10
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
2
3
declare(strict_types=1);
4
5
namespace ExileeD\Inoreader\Objects;
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