Total Complexity | 2 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
26 | class Generic implements Rev |
||
27 | { |
||
28 | /** |
||
29 | * Referencing a git state |
||
30 | * |
||
31 | * @var string |
||
32 | */ |
||
33 | private string $id; |
||
34 | |||
35 | /** |
||
36 | * Constructor |
||
37 | * |
||
38 | * @param string $id |
||
39 | */ |
||
40 | 2 | public function __construct(string $id) |
|
43 | } |
||
44 | |||
45 | /** |
||
46 | * Return the git reference |
||
47 | * |
||
48 | * @return string |
||
49 | */ |
||
50 | 2 | public function id(): string |
|
55 |