Passed
Push — master ( 84e281...f469f1 )
by Kuts
01:36
created

Subscription::title()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php declare(strict_types=1);
2
3
4
namespace ExileeD\Inoreader\Objects;
5
6
7
class Subscription extends AbstractObject implements ObjectInterface
8
{
9
10
    public function id(): string
11
    {
12
        return $this->data->id;
13
    }
14
15
    public function title(): string
16
    {
17
        return $this->data->title;
18
    }
19
20
    public function categories(): array
21
    {
22
        return $this->data->categories;
23
    }
24
25
    public function sortId(): string
26
    {
27
        return $this->data->sortid;
28
    }
29
30
    public function firstItemMsec(): string
31
    {
32
        return $this->data->firstitemmsec;
33
    }
34
35
    public function url(): string
36
    {
37
        return $this->data->url;
38
    }
39
40
    public function htmlUrl(): string
41
    {
42
        return $this->data->htmlUrl;
43
    }
44
45
    public function iconUrl(): string
46
    {
47
        return $this->data->iconUrl;
48
    }
49
50
51
}
52