| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 9 | abstract class Firmware |
||
| 10 | { |
||
| 11 | private $build; |
||
| 12 | private $version; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param \DateTimeInterface $build |
||
| 16 | * @param int $version |
||
| 17 | * @throws InvalidValueException |
||
| 18 | */ |
||
| 19 | 22 | protected function __construct(\DateTimeInterface $build, int $version) |
|
| 23 | } |
||
| 24 | |||
| 25 | 7 | public function getBuild(): \DateTimeImmutable |
|
| 28 | } |
||
| 29 | |||
| 30 | 7 | public function getVersion(): int |
|
| 35 |