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