Total Complexity | 13 |
Total Lines | 49 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class CMYK extends Color |
||
10 | { |
||
11 | private $cyan; |
||
12 | private $magenta; |
||
13 | private $yellow; |
||
14 | private $key; |
||
15 | |||
16 | 206 | public function __construct(float $cyan, float $magenta, float $yellow, float $key) |
|
38 | 198 | } |
|
39 | |||
40 | 198 | public function getCyan(): float |
|
43 | } |
||
44 | |||
45 | 198 | public function getMagenta(): float |
|
48 | } |
||
49 | |||
50 | 198 | public function getYellow(): float |
|
51 | { |
||
52 | 198 | return $this->yellow; |
|
53 | } |
||
54 | |||
55 | 198 | public function getKey(): float |
|
58 | } |
||
59 | } |
||
60 |