@@ -27,6 +27,7 @@ discard block |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param OptionInterface $option |
30 | + * @return void |
|
30 | 31 | */ |
31 | 32 | public function setOption(OptionInterface $option = null); |
32 | 33 | |
@@ -41,6 +42,7 @@ discard block |
||
41 | 42 | * Set internal value. |
42 | 43 | * |
43 | 44 | * @param string $value |
45 | + * @return void |
|
44 | 46 | */ |
45 | 47 | public function setValue($value); |
46 | 48 |
@@ -32,16 +32,19 @@ discard block |
||
32 | 32 | |
33 | 33 | /** |
34 | 34 | * @param Collection $variants |
35 | + * @return void |
|
35 | 36 | */ |
36 | 37 | public function setVariants(Collection $variants); |
37 | 38 | |
38 | 39 | /** |
39 | 40 | * @param VariantInterface $variant |
41 | + * @return void |
|
40 | 42 | */ |
41 | 43 | public function addVariant(VariantInterface $variant); |
42 | 44 | |
43 | 45 | /** |
44 | 46 | * @param VariantInterface $variant |
47 | + * @return void |
|
45 | 48 | */ |
46 | 49 | public function removeVariant(VariantInterface $variant); |
47 | 50 | |
@@ -64,16 +67,19 @@ discard block |
||
64 | 67 | |
65 | 68 | /** |
66 | 69 | * @param Collection $options |
70 | + * @return void |
|
67 | 71 | */ |
68 | 72 | public function setOptions(Collection $options); |
69 | 73 | |
70 | 74 | /** |
71 | 75 | * @param OptionInterface $option |
76 | + * @return void |
|
72 | 77 | */ |
73 | 78 | public function addOption(OptionInterface $option); |
74 | 79 | |
75 | 80 | /** |
76 | 81 | * @param OptionInterface $option |
82 | + * @return void |
|
77 | 83 | */ |
78 | 84 | public function removeOption(OptionInterface $option); |
79 | 85 |
@@ -63,12 +63,14 @@ discard block |
||
63 | 63 | |
64 | 64 | /** |
65 | 65 | * @param string $productName |
66 | + * @return void |
|
66 | 67 | */ |
67 | 68 | public function removeProduct($productName); |
68 | 69 | |
69 | 70 | /** |
70 | 71 | * @param string $productName |
71 | 72 | * @param int $quantity |
73 | + * @return void |
|
72 | 74 | */ |
73 | 75 | public function changeQuantity($productName, $quantity); |
74 | 76 | |
@@ -112,5 +114,8 @@ discard block |
||
112 | 114 | */ |
113 | 115 | public function getQuantity($productName); |
114 | 116 | |
117 | + /** |
|
118 | + * @return void |
|
119 | + */ |
|
115 | 120 | public function clearCart(); |
116 | 121 | } |
@@ -81,7 +81,7 @@ |
||
81 | 81 | |
82 | 82 | /** |
83 | 83 | * @param string $field |
84 | - * @param mixed $value |
|
84 | + * @param string $value |
|
85 | 85 | * |
86 | 86 | * @return self |
87 | 87 | */ |
@@ -27,6 +27,7 @@ |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param string $value |
30 | + * @return void |
|
30 | 31 | */ |
31 | 32 | public function setValue($value); |
32 | 33 | } |
@@ -815,6 +815,8 @@ |
||
815 | 815 | /** |
816 | 816 | * @Given I have proceeded order with :shippingMethod shipping method and :paymentMethod payment |
817 | 817 | * @When I proceed with :shippingMethod shipping method and :paymentMethod payment |
818 | + * @param string $shippingMethod |
|
819 | + * @param string $paymentMethod |
|
818 | 820 | */ |
819 | 821 | public function iProceedOrderWithShippingMethodAndPayment($shippingMethod, $paymentMethod) |
820 | 822 | { |
@@ -18,67 +18,85 @@ |
||
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 $contactEmail |
57 | + * @return void |
|
47 | 58 | */ |
48 | 59 | public function setContactEmail($contactEmail); |
49 | 60 | |
50 | 61 | /** |
51 | 62 | * @param string $color |
63 | + * @return void |
|
52 | 64 | */ |
53 | 65 | public function defineColor($color); |
54 | 66 | |
55 | 67 | /** |
56 | 68 | * @param string $language |
69 | + * @return void |
|
57 | 70 | */ |
58 | 71 | public function chooseLocale($language); |
59 | 72 | |
60 | 73 | /** |
61 | 74 | * @param string $currencyCode |
75 | + * @return void |
|
62 | 76 | */ |
63 | 77 | public function chooseCurrency($currencyCode); |
64 | 78 | |
65 | 79 | /** |
66 | 80 | * @param string $taxZone |
81 | + * @return void |
|
67 | 82 | */ |
68 | 83 | public function chooseDefaultTaxZone($taxZone); |
69 | 84 | |
70 | 85 | /** |
71 | 86 | * @param string $locale |
87 | + * @return void |
|
72 | 88 | */ |
73 | 89 | public function chooseDefaultLocale($locale); |
74 | 90 | |
75 | 91 | /** |
76 | 92 | * @param string $currency |
93 | + * @return void |
|
77 | 94 | */ |
78 | 95 | public function chooseBaseCurrency($currency); |
79 | 96 | |
80 | 97 | /** |
81 | 98 | * @param string $taxCalculationStrategy |
99 | + * @return void |
|
82 | 100 | */ |
83 | 101 | public function chooseTaxCalculationStrategy($taxCalculationStrategy); |
84 | 102 | } |
@@ -63,12 +63,14 @@ discard block |
||
63 | 63 | |
64 | 64 | /** |
65 | 65 | * @param string $productName |
66 | + * @return void |
|
66 | 67 | */ |
67 | 68 | public function removeProduct($productName); |
68 | 69 | |
69 | 70 | /** |
70 | 71 | * @param string $productName |
71 | 72 | * @param int $quantity |
73 | + * @return void |
|
72 | 74 | */ |
73 | 75 | public function changeQuantity($productName, $quantity); |
74 | 76 | |
@@ -112,5 +114,8 @@ discard block |
||
112 | 114 | */ |
113 | 115 | public function getQuantity($productName); |
114 | 116 | |
117 | + /** |
|
118 | + * @return void |
|
119 | + */ |
|
115 | 120 | public function clearCart(); |
116 | 121 | } |
@@ -110,7 +110,7 @@ |
||
110 | 110 | } |
111 | 111 | |
112 | 112 | /** |
113 | - * @return array |
|
113 | + * @return \Generator |
|
114 | 114 | */ |
115 | 115 | private function getLocales() |
116 | 116 | { |