Total Complexity | 9 |
Total Lines | 64 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class Artifacts implements \Countable |
||
13 | { |
||
14 | /** |
||
15 | * @var array|string[] |
||
16 | */ |
||
17 | private $paths; |
||
18 | |||
19 | /** |
||
20 | * Artifacts constructor. |
||
21 | * |
||
22 | * @param array|string[] $artifacts |
||
23 | * |
||
24 | * @throws ParseException |
||
25 | */ |
||
26 | 6 | public function __construct(array $artifacts) |
|
29 | } |
||
30 | |||
31 | /** |
||
32 | * @return array|string[] |
||
33 | */ |
||
34 | 2 | public function getPaths() |
|
35 | { |
||
36 | 2 | return $this->paths; |
|
37 | } |
||
38 | |||
39 | 1 | #[\ReturnTypeWillChange] |
|
46 | } |
||
47 | |||
48 | /** |
||
49 | * |
||
50 | * @throws ParseException |
||
51 | * |
||
52 | * @return void |
||
53 | */ |
||
54 | 6 | private function parse(array $artifacts) |
|
78 |