Total Complexity | 3 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 2 | ||
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 | * @param Error|null $error |
||
42 | */ |
||
43 | public function setError(?Error $error): void |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * @return Error|null |
||
50 | */ |
||
51 | public function getError(): ?Error |
||
56 |