Total Complexity | 3 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | final class Ansi4Color extends AAnsiColor |
||
15 | { |
||
16 | use Ansi8ColorTableTrait; |
||
17 | |||
18 | /** @var array<string,int>|null */ |
||
19 | protected static ?array $colors = null; |
||
20 | |||
21 | /** @return array<string,int> */ |
||
22 | protected static function getColors(): array |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @throws InvalidArgumentException |
||
32 | */ |
||
33 | protected static function assertIndex(int $index): void |
||
38 |