| Total Complexity | 2 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | class CancelShipmentResponse |
||
| 28 | { |
||
| 29 | /** |
||
| 30 | * @var Error|null |
||
| 31 | * @Serializer\Type("VasilDakov\Speedy\Error") |
||
| 32 | */ |
||
| 33 | private ?Error $error = null; |
||
| 34 | |||
| 35 | public function __construct(Error $error = null) |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return Error|null |
||
| 42 | */ |
||
| 43 | public function getError(): ?Error |
||
| 46 | } |
||
| 47 | } |