| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | class CancelShipmentRequest |
||
| 26 | { |
||
| 27 | use ToArray; |
||
| 28 | |||
| 29 | private string $shipmentId; |
||
| 30 | |||
| 31 | private string $comment; |
||
| 32 | |||
| 33 | 1 | public function __construct(string $shipmentId, string $comment) |
|
| 34 | { |
||
| 35 | 1 | $this->shipmentId = $shipmentId; |
|
| 36 | 1 | $this->comment = $comment; |
|
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | 1 | public function getShipmentId(): string |
|
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @return string |
||
| 49 | */ |
||
| 50 | 1 | public function getComment(): string |
|
| 53 | } |
||
| 54 | } |
||
| 55 |