Completed
Push — _tmp_4a29a9356a70eacb2a3c61bb0... ( 4a29a9 )
by Kamil
445:02 queued 440:53
created
Model/ShipmentInterface.php 1 patch
Doc Comments   +24 added lines patch added patch discarded remove patch
@@ -24,12 +24,24 @@  discard block
 block discarded – undo
24 24
     public const STATE_SHIPPED = 'shipped';
25 25
     public const STATE_CANCELLED = 'cancelled';
26 26
 
27
+    /**
28
+     * @return string
29
+     */
27 30
     public function getState(): ?string;
28 31
 
32
+    /**
33
+     * @return void
34
+     */
29 35
     public function setState(?string $state): void;
30 36
 
37
+    /**
38
+     * @return ShippingMethodInterface
39
+     */
31 40
     public function getMethod(): ?ShippingMethodInterface;
32 41
 
42
+    /**
43
+     * @return void
44
+     */
33 45
     public function setMethod(?ShippingMethodInterface $method): void;
34 46
 
35 47
     /**
@@ -37,14 +49,26 @@  discard block
 block discarded – undo
37 49
      */
38 50
     public function getUnits(): Collection;
39 51
 
52
+    /**
53
+     * @return void
54
+     */
40 55
     public function addUnit(ShipmentUnitInterface $unit): void;
41 56
 
57
+    /**
58
+     * @return void
59
+     */
42 60
     public function removeUnit(ShipmentUnitInterface $unit): void;
43 61
 
44 62
     public function hasUnit(ShipmentUnitInterface $unit): bool;
45 63
 
64
+    /**
65
+     * @return string
66
+     */
46 67
     public function getTracking(): ?string;
47 68
 
69
+    /**
70
+     * @return void
71
+     */
48 72
     public function setTracking(?string $tracking): void;
49 73
 
50 74
     public function isTracked(): bool;
Please login to merge, or discard this patch.
Model/ShipmentUnitInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -18,9 +18,18 @@
 block discarded – undo
18 18
 
19 19
 interface ShipmentUnitInterface extends TimestampableInterface, ResourceInterface
20 20
 {
21
+    /**
22
+     * @return ShipmentInterface
23
+     */
21 24
     public function getShipment(): ?ShipmentInterface;
22 25
 
26
+    /**
27
+     * @return void
28
+     */
23 29
     public function setShipment(?ShipmentInterface $shipment): void;
24 30
 
31
+    /**
32
+     * @return ShippableInterface
33
+     */
25 34
     public function getShippable(): ?ShippableInterface;
26 35
 }
Please login to merge, or discard this patch.
Model/ShippingCategoryInterface.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -19,11 +19,23 @@
 block discarded – undo
19 19
 
20 20
 interface ShippingCategoryInterface extends CodeAwareInterface, TimestampableInterface, ResourceInterface
21 21
 {
22
+    /**
23
+     * @return string
24
+     */
22 25
     public function getName(): ?string;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function setName(?string $name): void;
25 31
 
32
+    /**
33
+     * @return string
34
+     */
26 35
     public function getDescription(): ?string;
27 36
 
37
+    /**
38
+     * @return void
39
+     */
28 40
     public function setDescription(?string $description): void;
29 41
 }
Please login to merge, or discard this patch.
Model/ShippingMethodInterface.php 1 patch
Doc Comments   +26 added lines patch added patch discarded remove patch
@@ -35,18 +35,36 @@  discard block
 block discarded – undo
35 35
 
36 36
     public function getName(): ?string;
37 37
 
38
+    /**
39
+     * @return void
40
+     */
38 41
     public function setName(?string $name): void;
39 42
 
40 43
     public function getDescription(): ?string;
41 44
 
45
+    /**
46
+     * @return void
47
+     */
42 48
     public function setDescription(?string $description): void;
43 49
 
50
+    /**
51
+     * @return integer
52
+     */
44 53
     public function getPosition(): ?int;
45 54
 
55
+    /**
56
+     * @return void
57
+     */
46 58
     public function setPosition(?int $position): void;
47 59
 
60
+    /**
61
+     * @return ShippingCategoryInterface
62
+     */
48 63
     public function getCategory(): ?ShippingCategoryInterface;
49 64
 
65
+    /**
66
+     * @return void
67
+     */
50 68
     public function setCategory(?ShippingCategoryInterface $category);
51 69
 
52 70
     /**
@@ -56,9 +74,13 @@  discard block
 block discarded – undo
56 74
      * 1) None of shippables matches the category.
57 75
      * 2) At least one of shippables matches the category.
58 76
      * 3) All shippables have to match the method category.
77
+     * @return integer
59 78
      */
60 79
     public function getCategoryRequirement(): ?int;
61 80
 
81
+    /**
82
+     * @return void
83
+     */
62 84
     public function setCategoryRequirement(?int $categoryRequirement): void;
63 85
 
64 86
     /**
@@ -68,11 +90,15 @@  discard block
 block discarded – undo
68 90
 
69 91
     /**
70 92
      * @param string $calculator
93
+     * @return void
71 94
      */
72 95
     public function setCalculator(?string $calculator): void;
73 96
 
74 97
     public function getConfiguration(): array;
75 98
 
99
+    /**
100
+     * @return void
101
+     */
76 102
     public function setConfiguration(array $configuration): void;
77 103
 
78 104
     /**
Please login to merge, or discard this patch.
Model/ShippingMethodTranslationInterface.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -18,11 +18,23 @@
 block discarded – undo
18 18
 
19 19
 interface ShippingMethodTranslationInterface extends ResourceInterface, TranslationInterface
20 20
 {
21
+    /**
22
+     * @return string
23
+     */
21 24
     public function getName(): ?string;
22 25
 
26
+    /**
27
+     * @return void
28
+     */
23 29
     public function setName(?string $name): void;
24 30
 
31
+    /**
32
+     * @return string
33
+     */
25 34
     public function getDescription(): ?string;
26 35
 
36
+    /**
37
+     * @return void
38
+     */
27 39
     public function setDescription(?string $description): void;
28 40
 }
Please login to merge, or discard this patch.