TexturesPropertyValueCape   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 4
c 0
b 0
f 0
dl 0
loc 13
ccs 5
cts 5
cp 1
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getUrl() 0 2 1
A __construct() 0 2 1
1
<?php
2
declare(strict_types=1);
3
4
namespace Ely\Mojang\Response\Properties;
5
6
class TexturesPropertyValueCape {
7
8
    /**
9
     * @var string
10
     */
11
    private $url;
12
13 2
    public function __construct(string $skinUrl) {
14 2
        $this->url = $skinUrl;
15 2
    }
16
17 2
    public function getUrl(): string {
18 2
        return $this->url;
19
    }
20
21
}
22