Lines 100.00% 2 / 2
Methods 100.00% 2 / 2
Classes 100.00% 1 / 1
Name Lines Methods CRAP
 [Lorekeeper\Core\Support\NonNegativeInteger] __construct 100.00% 1 / 1 100.00% 1 / 1 1
 [Lorekeeper\Core\Support\NonNegativeInteger] __toString 100.00% 1 / 1 100.00% 1 / 1 1
9final readonly class ClassPoints extends NonNegativeInteger {}

Inherited from Lorekeeper\Core\Support\NonNegativeInteger

15    final public function __construct(int $value)
16    {
17        $this->value = Type\uint()->assert($value);
18    }
20    final public function __toString(): string
21    {
22        return (string) $this->value;
23    }