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
AddDistrictCommand 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 Districts\Editor\Application\Command;
6
7readonly class AddDistrictCommand
8{
9    public function __construct(
10        public int $cityId,
11        public string $name,
12        public float $area,
13        public int $population,
14    ) {
15    }
16}