Lines 100.00% 1 / 1
Functions and Methods 100.00% 1 / 1
Classes and Traits 100.00% 1 / 1
Name Lines Functions and Methods CRAP Classes and Traits
DistrictOrdering 100.00% 1 / 1 100.00% 1 / 1 1 100.00% 1 / 1
 __construct 100.00% 1 / 1 100.00% 1 / 1 1
1<?php
2
3declare(strict_types=1);
4
5namespace Districts\Editor\Domain;
6
7readonly class DistrictOrdering
8{
9    public function __construct(
10        public DistrictOrderingField $field,
11        public OrderingDirection $direction,
12    ) {
13    }
14}