Lines 100.00% 1 / 1
Methods 100.00% 1 / 1
Classes 100.00% 1 / 1
Name Lines Methods CRAP
 __construct 100.00% 1 / 1 100.00% 1 / 1 1
10final readonly class ApiToken
11{
12    public function __construct(
13        public string $token,
14        /** null for fake dev tokens, which don't expire */
15        public ?\DateTimeImmutable $expiresAt,
16        public bool $fake = false,
17    ) {
18    }
19}