Completed
Push — master ( ebe411...bb2d64 )
by Kamil
48:04 queued 22:06
created
src/Sylius/Component/Order/Model/OrderAwareInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * @param OrderInterface|null $order
28
+     * @return void
28 29
      */
29 30
     public function setOrder(?OrderInterface $order): void;
30 31
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Model/OrderInterface.php 1 patch
Doc Comments   +16 added lines patch added patch discarded remove patch
@@ -34,6 +34,7 @@  discard block
 block discarded – undo
34 34
 
35 35
     /**
36 36
      * @param \DateTimeInterface|null $checkoutCompletedAt
37
+     * @return void
37 38
      */
38 39
     public function setCheckoutCompletedAt(?\DateTimeInterface $checkoutCompletedAt): void;
39 40
 
@@ -42,6 +43,9 @@  discard block
 block discarded – undo
42 43
      */
43 44
     public function isCheckoutCompleted(): bool;
44 45
 
46
+    /**
47
+     * @return void
48
+     */
45 49
     public function completeCheckout(): void;
46 50
 
47 51
     /**
@@ -51,6 +55,7 @@  discard block
 block discarded – undo
51 55
 
52 56
     /**
53 57
      * @param string|null
58
+     * @return void
54 59
      */
55 60
     public function setNumber(?string $number): void;
56 61
 
@@ -61,6 +66,7 @@  discard block
 block discarded – undo
61 66
 
62 67
     /**
63 68
      * @param string|null $notes
69
+     * @return void
64 70
      */
65 71
     public function setNotes(?string $notes): void;
66 72
 
@@ -69,6 +75,9 @@  discard block
 block discarded – undo
69 75
      */
70 76
     public function getItems(): Collection;
71 77
 
78
+    /**
79
+     * @return void
80
+     */
72 81
     public function clearItems(): void;
73 82
 
74 83
     /**
@@ -78,11 +87,13 @@  discard block
 block discarded – undo
78 87
 
79 88
     /**
80 89
      * @param OrderItemInterface $item
90
+     * @return void
81 91
      */
82 92
     public function addItem(OrderItemInterface $item): void;
83 93
 
84 94
     /**
85 95
      * @param OrderItemInterface $item
96
+     * @return void
86 97
      */
87 98
     public function removeItem(OrderItemInterface $item): void;
88 99
 
@@ -98,6 +109,9 @@  discard block
 block discarded – undo
98 109
      */
99 110
     public function getItemsTotal(): int;
100 111
 
112
+    /**
113
+     * @return void
114
+     */
101 115
     public function recalculateItemsTotal(): void;
102 116
 
103 117
     /**
@@ -117,6 +131,7 @@  discard block
 block discarded – undo
117 131
 
118 132
     /**
119 133
      * @param string $state
134
+     * @return void
120 135
      */
121 136
     public function setState(string $state): void;
122 137
 
@@ -141,6 +156,7 @@  discard block
 block discarded – undo
141 156
 
142 157
     /**
143 158
      * @param string|null $type
159
+     * @return void
144 160
      */
145 161
     public function removeAdjustmentsRecursively(?string $type = null): void;
146 162
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Model/OrderItemInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -33,6 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
     /**
35 35
      * @param int $unitPrice
36
+     * @return void
36 37
      */
37 38
     public function setUnitPrice(int $unitPrice): void;
38 39
 
@@ -43,6 +44,7 @@  discard block
 block discarded – undo
43 44
 
44 45
     /**
45 46
      * Recalculate totals. Should be used after every unit change.
47
+     * @return void
46 48
      */
47 49
     public function recalculateUnitsTotal(): void;
48 50
 
@@ -63,6 +65,7 @@  discard block
 block discarded – undo
63 65
 
64 66
     /**
65 67
      * @param bool $immutable
68
+     * @return void
66 69
      */
67 70
     public function setImmutable(bool $immutable): void;
68 71
 
@@ -80,11 +83,13 @@  discard block
 block discarded – undo
80 83
 
81 84
     /**
82 85
      * @param OrderItemUnitInterface $itemUnit
86
+     * @return void
83 87
      */
84 88
     public function addUnit(OrderItemUnitInterface $itemUnit): void;
85 89
 
86 90
     /**
87 91
      * @param OrderItemUnitInterface $itemUnit
92
+     * @return void
88 93
      */
89 94
     public function removeUnit(OrderItemUnitInterface $itemUnit): void;
90 95
 
@@ -97,6 +102,7 @@  discard block
 block discarded – undo
97 102
 
98 103
     /**
99 104
      * @param string|null $type
105
+     * @return void
100 106
      */
101 107
     public function removeAdjustmentsRecursively(?string $type = null): void;
102 108
 
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Model/OrderSequenceInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,5 +25,8 @@
 block discarded – undo
25 25
      */
26 26
     public function getIndex(): int;
27 27
 
28
+    /**
29
+     * @return void
30
+     */
28 31
     public function incrementIndex(): void;
29 32
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Modifier/OrderItemQuantityModifierInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@
 block discarded – undo
23 23
     /**
24 24
      * @param OrderItemInterface $orderItem
25 25
      * @param int $targetQuantity
26
+     * @return void
26 27
      */
27 28
     public function modify(OrderItemInterface $orderItem, int $targetQuantity): void;
28 29
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Modifier/OrderModifierInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -24,12 +24,14 @@
 block discarded – undo
24 24
     /**
25 25
      * @param OrderInterface $cart
26 26
      * @param OrderItemInterface $cartItem
27
+     * @return void
27 28
      */
28 29
     public function addToOrder(OrderInterface $cart, OrderItemInterface $cartItem): void;
29 30
 
30 31
     /**
31 32
      * @param OrderInterface $cart
32 33
      * @param OrderItemInterface $item
34
+     * @return void
33 35
      */
34 36
     public function removeFromOrder(OrderInterface $cart, OrderItemInterface $item): void;
35 37
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Processor/OrderProcessorInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -22,6 +22,7 @@
 block discarded – undo
22 22
 {
23 23
     /**
24 24
      * @param OrderInterface $order
25
+     * @return void
25 26
      */
26 27
     public function process(OrderInterface $order): void;
27 28
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Order/StateResolver/StateResolverInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -22,6 +22,7 @@
 block discarded – undo
22 22
 {
23 23
     /**
24 24
      * @param OrderInterface $order
25
+     * @return void
25 26
      */
26 27
     public function resolve(OrderInterface $order): void;
27 28
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/SymfonyPageInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@
 block discarded – undo
27 27
      * @param array $requiredUrlParameters
28 28
      *
29 29
      * @throws UnexpectedPageException
30
+     * @return void
30 31
      */
31 32
     public function verifyRoute(array $requiredUrlParameters = []);
32 33
 }
Please login to merge, or discard this patch.