Lines 0.00% 0 / 2
Methods 0.00% 0 / 2
Classes 0.00% 0 / 1
Name Lines Methods CRAP
 __construct 0.00% 0 / 1 0.00% 0 / 1 2
 getPlatform 0.00% 0 / 1 0.00% 0 / 1 2
9final readonly class TimeConfig extends ExposedEntityConfig
10{
11    /** @throws ExposureException */
12    public function __construct(
13        ?string $name = null,
14        ?string $icon = null,
15        ?EntityCategory $entityCategory = null,
16        bool $enabledByDefault = true,
17    ) {
18        parent::__construct($name, $icon, $entityCategory, $enabledByDefault);
19    }
20
21    public function getPlatform(): ExposedPlatform
22    {
23        return ExposedPlatform::Time;
24    }
25}