@@ -175,6 +175,7 @@ discard block |
||
175 | 175 | |
176 | 176 | /** |
177 | 177 | * @Given /^([^"]+) gives ("[^"]+%") discount on shipping to every order$/ |
178 | + * @param integer $discount |
|
178 | 179 | */ |
179 | 180 | public function itGivesPercentageDiscountOnShippingToEveryOrder(PromotionInterface $promotion, $discount) |
180 | 181 | { |
@@ -429,7 +430,7 @@ discard block |
||
429 | 430 | } |
430 | 431 | |
431 | 432 | /** |
432 | - * @param array $taxonCodes |
|
433 | + * @param string[] $taxonCodes |
|
433 | 434 | * |
434 | 435 | * @return array |
435 | 436 | */ |
@@ -458,6 +459,7 @@ discard block |
||
458 | 459 | * @param PromotionInterface $promotion |
459 | 460 | * @param int $discount |
460 | 461 | * @param array $configuration |
462 | + * @param RuleInterface $rule |
|
461 | 463 | */ |
462 | 464 | private function createUnitFixedPromotion(PromotionInterface $promotion, $discount, array $configuration = [], $rule = null) |
463 | 465 | { |
@@ -468,6 +470,7 @@ discard block |
||
468 | 470 | * @param PromotionInterface $promotion |
469 | 471 | * @param int $discount |
470 | 472 | * @param array $configuration |
473 | + * @param RuleInterface $rule |
|
471 | 474 | */ |
472 | 475 | private function createUnitPercentagePromotion(PromotionInterface $promotion, $discount, array $configuration = [], $rule = null) |
473 | 476 | { |
@@ -187,7 +187,7 @@ |
||
187 | 187 | /** |
188 | 188 | * @param string $taxRateAmount |
189 | 189 | * |
190 | - * @return string |
|
190 | + * @return integer |
|
191 | 191 | */ |
192 | 192 | private function getAmountFromString($taxRateAmount) |
193 | 193 | { |
@@ -134,6 +134,7 @@ discard block |
||
134 | 134 | |
135 | 135 | /** |
136 | 136 | * @Then the :productVariantCode variant of the :product product should appear in the shop |
137 | + * @param string $productVariantCode |
|
137 | 138 | */ |
138 | 139 | public function theProductVariantShouldAppearInTheShop($productVariantCode, ProductInterface $product) |
139 | 140 | { |
@@ -280,6 +281,7 @@ discard block |
||
280 | 281 | |
281 | 282 | /** |
282 | 283 | * @param string $element |
284 | + * @param string $message |
|
283 | 285 | */ |
284 | 286 | private function assertValidationMessage($element, $message) |
285 | 287 | { |
@@ -337,6 +337,7 @@ |
||
337 | 337 | |
338 | 338 | /** |
339 | 339 | * @When /^I proceed selecting "([^"]*)" as shipping country with "([^"]*)" payment method$/ |
340 | + * @param string $paymentMethodName |
|
340 | 341 | */ |
341 | 342 | public function iProceedSelectingShippingCountryAndPaymentMethod($shippingCountry, $paymentMethodName) |
342 | 343 | { |
@@ -77,7 +77,7 @@ |
||
77 | 77 | } |
78 | 78 | |
79 | 79 | /** |
80 | - * @return array[] |
|
80 | + * @return integer[] |
|
81 | 81 | */ |
82 | 82 | public function getContextsServicesIds() |
83 | 83 | { |
@@ -415,9 +415,9 @@ |
||
415 | 415 | * Get child elements by name. |
416 | 416 | * |
417 | 417 | * @param \DOMNode $node |
418 | - * @param mixed $name |
|
418 | + * @param string $name |
|
419 | 419 | * |
420 | - * @return array |
|
420 | + * @return string |
|
421 | 421 | */ |
422 | 422 | private function getChildren(\DOMNode $node, $name) |
423 | 423 | { |
@@ -18,52 +18,67 @@ |
||
18 | 18 | */ |
19 | 19 | interface CreatePageInterface extends BaseCreatePageInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function enable(); |
22 | 25 | |
26 | + /** |
|
27 | + * @return void |
|
28 | + */ |
|
23 | 29 | public function disable(); |
24 | 30 | |
25 | 31 | /** |
26 | 32 | * @param string $name |
33 | + * @return void |
|
27 | 34 | */ |
28 | 35 | public function nameIt($name); |
29 | 36 | |
30 | 37 | /** |
31 | 38 | * @param string $code |
39 | + * @return void |
|
32 | 40 | */ |
33 | 41 | public function specifyCode($code); |
34 | 42 | |
35 | 43 | /** |
36 | 44 | * @param string $description |
45 | + * @return void |
|
37 | 46 | */ |
38 | 47 | public function describeItAs($description); |
39 | 48 | |
40 | 49 | /** |
41 | 50 | * @param string $hostname |
51 | + * @return void |
|
42 | 52 | */ |
43 | 53 | public function setHostname($hostname); |
44 | 54 | |
45 | 55 | /** |
46 | 56 | * @param string $color |
57 | + * @return void |
|
47 | 58 | */ |
48 | 59 | public function defineColor($color); |
49 | 60 | |
50 | 61 | /** |
51 | 62 | * @param string $language |
63 | + * @return void |
|
52 | 64 | */ |
53 | 65 | public function chooseLocale($language); |
54 | 66 | |
55 | 67 | /** |
56 | 68 | * @param string $currencyCode |
69 | + * @return void |
|
57 | 70 | */ |
58 | 71 | public function chooseCurrency($currencyCode); |
59 | 72 | |
60 | 73 | /** |
61 | 74 | * @param string $shippingMethod |
75 | + * @return void |
|
62 | 76 | */ |
63 | 77 | public function chooseShippingMethod($shippingMethod); |
64 | 78 | |
65 | 79 | /** |
66 | 80 | * @param string $paymentMethod |
81 | + * @return void |
|
67 | 82 | */ |
68 | 83 | public function choosePaymentMethod($paymentMethod); |
69 | 84 | } |
@@ -19,17 +19,25 @@ discard block |
||
19 | 19 | */ |
20 | 20 | interface UpdatePageInterface extends BaseUpdatePageInterface |
21 | 21 | { |
22 | + /** |
|
23 | + * @return void |
|
24 | + */ |
|
22 | 25 | public function enable(); |
23 | 26 | |
27 | + /** |
|
28 | + * @return void |
|
29 | + */ |
|
24 | 30 | public function disable(); |
25 | 31 | |
26 | 32 | /** |
27 | 33 | * @param string $themeName |
34 | + * @return void |
|
28 | 35 | */ |
29 | 36 | public function setTheme($themeName); |
30 | 37 | |
31 | 38 | /** |
32 | 39 | * @throws ElementNotFoundException |
40 | + * @return void |
|
33 | 41 | */ |
34 | 42 | public function unsetTheme(); |
35 | 43 | |
@@ -40,6 +48,7 @@ discard block |
||
40 | 48 | |
41 | 49 | /** |
42 | 50 | * @param string $language |
51 | + * @return void |
|
43 | 52 | */ |
44 | 53 | public function chooseLocale($language); |
45 | 54 | |
@@ -52,6 +61,7 @@ discard block |
||
52 | 61 | |
53 | 62 | /** |
54 | 63 | * @param string $currencyCode |
64 | + * @return void |
|
55 | 65 | */ |
56 | 66 | public function chooseCurrency($currencyCode); |
57 | 67 | |
@@ -64,6 +74,7 @@ discard block |
||
64 | 74 | |
65 | 75 | /** |
66 | 76 | * @param string $shippingMethod |
77 | + * @return void |
|
67 | 78 | */ |
68 | 79 | public function chooseShippingMethod($shippingMethod); |
69 | 80 | |
@@ -76,6 +87,7 @@ discard block |
||
76 | 87 | |
77 | 88 | /** |
78 | 89 | * @param string $paymentMethod |
90 | + * @return void |
|
79 | 91 | */ |
80 | 92 | public function choosePaymentMethod($paymentMethod); |
81 | 93 |
@@ -21,6 +21,7 @@ discard block |
||
21 | 21 | { |
22 | 22 | /** |
23 | 23 | * @param string $name |
24 | + * @return void |
|
24 | 25 | */ |
25 | 26 | public function chooseName($name); |
26 | 27 | |
@@ -28,6 +29,7 @@ discard block |
||
28 | 29 | * @param string $name |
29 | 30 | * @param string $code |
30 | 31 | * @param string|null $abbreviation |
32 | + * @return void |
|
31 | 33 | */ |
32 | 34 | public function addProvince($name, $code, $abbreviation = null); |
33 | 35 | } |