| Total Complexity | 3 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 20 | class CommitRef implements \Stringable |
||
| 21 | { |
||
| 22 | private string $hash; |
||
| 23 | |||
| 24 | public function __construct(string $commitHash, private ?int $mode = null) |
||
| 25 | { |
||
| 26 | $this->hash = $commitHash; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function __toString(): string |
||
| 32 | } |
||
| 33 | |||
| 34 | public function getMode(): ?int |
||
| 37 | } |
||
| 38 | } |
||
| 39 |