Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class CalculationSender |
||
17 | { |
||
18 | use ToArray; |
||
19 | |||
20 | private int $clientId; |
||
21 | |||
22 | private ?int $dropoffOfficeId; |
||
23 | |||
24 | 2 | public function __construct(int $clientId, int $dropoffOfficeId = null) |
|
25 | { |
||
26 | 2 | $this->clientId = $clientId; |
|
27 | 2 | $this->dropoffOfficeId = $dropoffOfficeId; |
|
28 | } |
||
29 | |||
30 | /** |
||
31 | * @return int |
||
32 | */ |
||
33 | 1 | public function getClientId(): int |
|
36 | } |
||
37 | |||
38 | /** |
||
39 | * @return int|null |
||
40 | */ |
||
41 | 1 | public function getDropoffOfficeId(): ?int |
|
46 |