Completed
Push — 1.1 ( 65a3a3...5e1505 )
by Kamil
119:21 queued 74:25
created
src/Sylius/Bundle/CoreBundle/Fixture/Factory/ProductExampleFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
     }
134 134
 
135 135
     /**
136
-     * @return iterable
136
+     * @return \Generator
137 137
      */
138 138
     private function getLocales(): iterable
139 139
     {
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Fixture/Factory/TaxonExampleFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
     }
134 134
 
135 135
     /**
136
-     * @return iterable
136
+     * @return \Generator
137 137
      */
138 138
     private function getLocales(): iterable
139 139
     {
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
@@ -31,6 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
     /**
33 33
      * @param \DateTimeInterface|null $checkoutCompletedAt
34
+     * @return void
34 35
      */
35 36
     public function setCheckoutCompletedAt(?\DateTimeInterface $checkoutCompletedAt): void;
36 37
 
@@ -39,6 +40,9 @@  discard block
 block discarded – undo
39 40
      */
40 41
     public function isCheckoutCompleted(): bool;
41 42
 
43
+    /**
44
+     * @return void
45
+     */
42 46
     public function completeCheckout(): void;
43 47
 
44 48
     /**
@@ -48,6 +52,7 @@  discard block
 block discarded – undo
48 52
 
49 53
     /**
50 54
      * @param string|null $number
55
+     * @return void
51 56
      */
52 57
     public function setNumber(?string $number): void;
53 58
 
@@ -58,6 +63,7 @@  discard block
 block discarded – undo
58 63
 
59 64
     /**
60 65
      * @param string|null $notes
66
+     * @return void
61 67
      */
62 68
     public function setNotes(?string $notes): void;
63 69
 
@@ -66,6 +72,9 @@  discard block
 block discarded – undo
66 72
      */
67 73
     public function getItems(): Collection;
68 74
 
75
+    /**
76
+     * @return void
77
+     */
69 78
     public function clearItems(): void;
70 79
 
71 80
     /**
@@ -75,11 +84,13 @@  discard block
 block discarded – undo
75 84
 
76 85
     /**
77 86
      * @param OrderItemInterface $item
87
+     * @return void
78 88
      */
79 89
     public function addItem(OrderItemInterface $item): void;
80 90
 
81 91
     /**
82 92
      * @param OrderItemInterface $item
93
+     * @return void
83 94
      */
84 95
     public function removeItem(OrderItemInterface $item): void;
85 96
 
@@ -95,6 +106,9 @@  discard block
 block discarded – undo
95 106
      */
96 107
     public function getItemsTotal(): int;
97 108
 
109
+    /**
110
+     * @return void
111
+     */
98 112
     public function recalculateItemsTotal(): void;
99 113
 
100 114
     /**
@@ -114,6 +128,7 @@  discard block
 block discarded – undo
114 128
 
115 129
     /**
116 130
      * @param string $state
131
+     * @return void
117 132
      */
118 133
     public function setState(string $state): void;
119 134
 
@@ -138,6 +153,7 @@  discard block
 block discarded – undo
138 153
 
139 154
     /**
140 155
      * @param string|null $type
156
+     * @return void
141 157
      */
142 158
     public function removeAdjustmentsRecursively(?string $type = null): void;
143 159
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/OrderInterface.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -44,6 +44,7 @@  discard block
 block discarded – undo
44 44
 
45 45
     /**
46 46
      * @param AddressInterface|null $address
47
+     * @return void
47 48
      */
48 49
     public function setShippingAddress(?AddressInterface $address): void;
49 50
 
@@ -54,6 +55,7 @@  discard block
 block discarded – undo
54 55
 
55 56
     /**
56 57
      * @param AddressInterface|null $address
58
+     * @return void
57 59
      */
58 60
     public function setBillingAddress(?AddressInterface $address): void;
59 61
 
@@ -64,6 +66,7 @@  discard block
 block discarded – undo
64 66
 
65 67
     /**
66 68
      * @param string|null $checkoutState
69
+     * @return void
67 70
      */
68 71
     public function setCheckoutState(?string $checkoutState): void;
69 72
 
@@ -74,6 +77,7 @@  discard block
 block discarded – undo
74 77
 
75 78
     /**
76 79
      * @param string|null $paymentState
80
+     * @return void
77 81
      */
78 82
     public function setPaymentState(?string $paymentState): void;
79 83
 
@@ -106,14 +110,19 @@  discard block
 block discarded – undo
106 110
 
107 111
     /**
108 112
      * @param ShipmentInterface $shipment
113
+     * @return void
109 114
      */
110 115
     public function addShipment(ShipmentInterface $shipment): void;
111 116
 
112 117
     /**
113 118
      * @param ShipmentInterface $shipment
119
+     * @return void
114 120
      */
115 121
     public function removeShipment(ShipmentInterface $shipment): void;
116 122
 
123
+    /**
124
+     * @return void
125
+     */
117 126
     public function removeShipments(): void;
118 127
 
119 128
     /**
@@ -130,6 +139,7 @@  discard block
 block discarded – undo
130 139
 
131 140
     /**
132 141
      * @param string|null $currencyCode
142
+     * @return void
133 143
      */
134 144
     public function setCurrencyCode(?string $currencyCode): void;
135 145
 
@@ -140,11 +150,13 @@  discard block
 block discarded – undo
140 150
 
141 151
     /**
142 152
      * @param string|null $localeCode
153
+     * @return void
143 154
      */
144 155
     public function setLocaleCode(?string $localeCode): void;
145 156
 
146 157
     /**
147 158
      * @param BaseCouponInterface|null $coupon
159
+     * @return void
148 160
      */
149 161
     public function setPromotionCoupon(?BaseCouponInterface $coupon): void;
150 162
 
@@ -155,6 +167,7 @@  discard block
 block discarded – undo
155 167
 
156 168
     /**
157 169
      * @param string|null $state
170
+     * @return void
158 171
      */
159 172
     public function setShippingState(?string $state): void;
160 173
 
@@ -187,6 +200,7 @@  discard block
 block discarded – undo
187 200
 
188 201
     /**
189 202
      * @param string|null $tokenValue
203
+     * @return void
190 204
      */
191 205
     public function setTokenValue(?string $tokenValue): void;
192 206
 
@@ -197,6 +211,7 @@  discard block
 block discarded – undo
197 211
 
198 212
     /**
199 213
      * @param string|null $customerIp
214
+     * @return void
200 215
      */
201 216
     public function setCustomerIp(?string $customerIp): void;
202 217
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Controller/RequestConfiguration.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
     /**
169 169
      * @param string $name
170 170
      *
171
-     * @return mixed|string|null
171
+     * @return string
172 172
      */
173 173
     public function getRedirectRoute($name)
174 174
     {
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
     }
229 229
 
230 230
     /**
231
-     * @param object|null $resource
231
+     * @param \Sylius\Component\Resource\Model\ResourceInterface|null $resource
232 232
      *
233 233
      * @return array
234 234
      */
Please login to merge, or discard this patch.