Passed
Push — master ( bbc85b...f0bc06 )
by
04:59
created

TexturesPropertyValueCape::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 1
dl 0
loc 2
ccs 2
cts 2
cp 1
crap 1
rs 10
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