Picture   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 20
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getUrl() 0 3 1
A getThumbnailUrl() 0 3 1
1
<?php
2
3
namespace LiveStream\Resources;
4
5
class Picture extends Resource
6
{
7
    /**
8
     * Undocumented function
9
     *
10
     * @return string|null
11
     */
12
    public function getUrl(): ?string
13
    {
14
        return $this->data->url ?? null;
15
    }
16
17
    /**
18
     * Undocumented function
19
     *
20
     * @return string|null
21
     */
22
    public function getThumbnailUrl(): ?string
23
    {
24
        return $this->data->url ?? null;
25
    }
26
}
27