@@ -428,6 +428,7 @@ discard block |
||
428 | 428 | |
429 | 429 | /** |
430 | 430 | * {@inheritdoc} |
431 | + * @param string $name |
|
431 | 432 | */ |
432 | 433 | protected function getElement($name, array $parameters = []) |
433 | 434 | { |
@@ -507,7 +508,7 @@ discard block |
||
507 | 508 | /** |
508 | 509 | * @param string $type |
509 | 510 | * |
510 | - * @return NodeElement |
|
511 | + * @return string |
|
511 | 512 | */ |
512 | 513 | private function getImageElementByType($type) |
513 | 514 | { |
@@ -20,6 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @throws NotificationExpectationMismatchException |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function checkNotification(string $message, NotificationType $type): void; |
25 | 26 | } |
@@ -19,31 +19,37 @@ |
||
19 | 19 | { |
20 | 20 | /** |
21 | 21 | * @param string $dateTime |
22 | + * @return void |
|
22 | 23 | */ |
23 | 24 | public function specifyFilterDateFrom(string $dateTime); |
24 | 25 | |
25 | 26 | /** |
26 | 27 | * @param string $dateTime |
28 | + * @return void |
|
27 | 29 | */ |
28 | 30 | public function specifyFilterDateTo(string $dateTime); |
29 | 31 | |
30 | 32 | /** |
31 | 33 | * @param string $channelName |
34 | + * @return void |
|
32 | 35 | */ |
33 | 36 | public function chooseChannelFilter($channelName); |
34 | 37 | |
35 | 38 | /** |
36 | 39 | * @param string $currencyName |
40 | + * @return void |
|
37 | 41 | */ |
38 | 42 | public function chooseCurrencyFilter($currencyName); |
39 | 43 | |
40 | 44 | /** |
41 | 45 | * @param string $total |
46 | + * @return void |
|
42 | 47 | */ |
43 | 48 | public function specifyFilterTotalGreaterThan($total); |
44 | 49 | |
45 | 50 | /** |
46 | 51 | * @param string $total |
52 | + * @return void |
|
47 | 53 | */ |
48 | 54 | public function specifyFilterTotalLessThan($total); |
49 | 55 | } |
@@ -17,7 +17,8 @@ |
||
17 | 17 | { |
18 | 18 | /** |
19 | 19 | * @param array $data |
20 | - * @param array $recipients |
|
20 | + * @param string[] $recipients |
|
21 | + * @return void |
|
21 | 22 | */ |
22 | 23 | public function sendContactRequest(array $data, array $recipients): void; |
23 | 24 | } |
@@ -44,6 +44,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
@@ -168,7 +168,7 @@ discard block |
||
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 |
||
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 | */ |
@@ -20,11 +20,13 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param AddressInterface $address |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function specifyShippingAddress(AddressInterface $address); |
25 | 26 | |
26 | 27 | /** |
27 | 28 | * @param AddressInterface $address |
29 | + * @return void |
|
28 | 30 | */ |
29 | 31 | public function specifyBillingAddress(AddressInterface $address); |
30 | 32 |
@@ -19,16 +19,19 @@ |
||
19 | 19 | { |
20 | 20 | /** |
21 | 21 | * @param string $code |
22 | + * @return void |
|
22 | 23 | */ |
23 | 24 | public function specifyCode($code); |
24 | 25 | |
25 | 26 | /** |
26 | 27 | * @param string $name |
28 | + * @return void |
|
27 | 29 | */ |
28 | 30 | public function nameIt($name); |
29 | 31 | |
30 | 32 | /** |
31 | 33 | * @param string $description |
34 | + * @return void |
|
32 | 35 | */ |
33 | 36 | public function specifyDescription($description); |
34 | 37 | } |