1 | <?php |
||
28 | class OrderAddDeliveryAction extends AbstractAction |
||
29 | { |
||
30 | 8 | public function fieldDefinitions() |
|
39 | |||
40 | /** |
||
41 | * @param array $data |
||
42 | * @param Context|callable $context |
||
43 | */ |
||
44 | 6 | public function __construct(array $data = [], $context = null) |
|
49 | |||
50 | /** |
||
51 | * @param DeliveryItemCollection $items |
||
52 | * @param Context|callable $context |
||
53 | * @return OrderAddDeliveryAction |
||
54 | */ |
||
55 | 3 | public static function ofDeliveryItems(DeliveryItemCollection $items, $context = null) |
|
59 | |||
60 | /** |
||
61 | * @deprecated not supported by platform - will be removed in 3.0 |
||
62 | * @return null |
||
63 | */ |
||
64 | public function getMeasurements() |
||
68 | |||
69 | /** |
||
70 | * @deprecated not supported by platform - will be removed in 3.0 |
||
71 | * @param ParcelMeasurements $measurements |
||
72 | * @return OrderAddDeliveryAction |
||
73 | */ |
||
74 | public function setMeasurements(ParcelMeasurements $measurements = null) |
||
78 | |||
79 | /** |
||
80 | * @deprecated not supported by platform - will be removed in 3.0 |
||
81 | * @return null |
||
82 | */ |
||
83 | public function getTrackingData() |
||
87 | |||
88 | /** |
||
89 | * @deprecated not supported by platform - will be removed in 3.0 |
||
90 | * @param TrackingData $trackingData |
||
91 | * @return OrderAddDeliveryAction |
||
92 | */ |
||
93 | public function setTrackingData(TrackingData $trackingData = null) |
||
97 | } |
||
98 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.