Lines 100.00% 2 / 2
Methods 100.00% 2 / 2
Classes 100.00% 1 / 1
Name Lines Methods CRAP
 __construct 100.00% 1 / 1 100.00% 1 / 1 1
 matches 100.00% 1 / 1 100.00% 1 / 1 1
7final readonly class SourceFingerprint
8{
9    public function __construct(public string $digest) {}
10
11    public function matches(self $other): bool
12    {
13        return $this->digest === $other->digest;
14    }
15}