Lines 0.00% 0 / 1
Functions and Methods 0.00% 0 / 1
Classes and Traits 0.00% 0 / 1
Name Lines Functions and Methods CRAP Classes and Traits
EntityAreaChange 0.00% 0 / 1 0.00% 0 / 1 2 0.00% 0 / 1
 __construct 0.00% 0 / 1 0.00% 0 / 1 2
1<?php
2
3declare(strict_types=1);
4
5namespace Stewart\Contracts\Registry\Update;
6
7use Stewart\Contracts\Registry\AreaId;
8
9// A null area makes the entity follow its device's area.
10final readonly class EntityAreaChange
11{
12    public function __construct(public ?AreaId $areaId) {}
13}