@@ -35,6 +35,7 @@ discard block |
||
35 | 35 | |
36 | 36 | /** |
37 | 37 | * @param PaymentMethodInterface|null $method |
38 | + * @return void |
|
38 | 39 | */ |
39 | 40 | public function setMethod(?PaymentMethodInterface $method): void; |
40 | 41 | |
@@ -45,6 +46,7 @@ discard block |
||
45 | 46 | |
46 | 47 | /** |
47 | 48 | * @param string $state |
49 | + * @return void |
|
48 | 50 | */ |
49 | 51 | public function setState(string $state): void; |
50 | 52 | |
@@ -55,6 +57,7 @@ discard block |
||
55 | 57 | |
56 | 58 | /** |
57 | 59 | * @param string $currencyCode |
60 | + * @return void |
|
58 | 61 | */ |
59 | 62 | public function setCurrencyCode(string $currencyCode): void; |
60 | 63 | |
@@ -65,6 +68,7 @@ discard block |
||
65 | 68 | |
66 | 69 | /** |
67 | 70 | * @param int $amount |
71 | + * @return void |
|
68 | 72 | */ |
69 | 73 | public function setAmount(int $amount): void; |
70 | 74 | |
@@ -75,6 +79,7 @@ discard block |
||
75 | 79 | |
76 | 80 | /** |
77 | 81 | * @param array $details |
82 | + * @return void |
|
78 | 83 | */ |
79 | 84 | public function setDetails(array $details): void; |
80 | 85 | } |
@@ -104,6 +104,9 @@ |
||
104 | 104 | return $webDirectory; |
105 | 105 | } |
106 | 106 | |
107 | + /** |
|
108 | + * @param string $webDirectory |
|
109 | + */ |
|
107 | 110 | private function assertFileContent($lines, $webDirectory): void |
108 | 111 | { |
109 | 112 | foreach ($lines as $line) { |
@@ -25,6 +25,7 @@ discard block |
||
25 | 25 | |
26 | 26 | /** |
27 | 27 | * @param string|null $name |
28 | + * @return void |
|
28 | 29 | */ |
29 | 30 | public function setName(?string $name): void; |
30 | 31 | |
@@ -35,6 +36,7 @@ discard block |
||
35 | 36 | |
36 | 37 | /** |
37 | 38 | * @param string|null $abbreviation |
39 | + * @return void |
|
38 | 40 | */ |
39 | 41 | public function setAbbreviation(?string $abbreviation): void; |
40 | 42 | |
@@ -45,6 +47,7 @@ discard block |
||
45 | 47 | |
46 | 48 | /** |
47 | 49 | * @param CountryInterface|null $country |
50 | + * @return void |
|
48 | 51 | */ |
49 | 52 | public function setCountry(?CountryInterface $country): void; |
50 | 53 | } |
@@ -27,6 +27,7 @@ discard block |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param ProductOptionInterface|null $option |
30 | + * @return void |
|
30 | 31 | */ |
31 | 32 | public function setOption(?ProductOptionInterface $option): void; |
32 | 33 | |
@@ -37,6 +38,7 @@ discard block |
||
37 | 38 | |
38 | 39 | /** |
39 | 40 | * @param string|null $value |
41 | + * @return void |
|
40 | 42 | */ |
41 | 43 | public function setValue(?string $value): void; |
42 | 44 |
@@ -32,6 +32,7 @@ discard block |
||
32 | 32 | |
33 | 33 | /** |
34 | 34 | * @param string|null $title |
35 | + * @return void |
|
35 | 36 | */ |
36 | 37 | public function setTitle(?string $title): void; |
37 | 38 | |
@@ -42,6 +43,7 @@ discard block |
||
42 | 43 | |
43 | 44 | /** |
44 | 45 | * @param string|null $description |
46 | + * @return void |
|
45 | 47 | */ |
46 | 48 | public function setDescription(?string $description): void; |
47 | 49 | |
@@ -52,11 +54,13 @@ discard block |
||
52 | 54 | |
53 | 55 | /** |
54 | 56 | * @param ThemeAuthor $author |
57 | + * @return void |
|
55 | 58 | */ |
56 | 59 | public function addAuthor(ThemeAuthor $author): void; |
57 | 60 | |
58 | 61 | /** |
59 | 62 | * @param ThemeAuthor $author |
63 | + * @return void |
|
60 | 64 | */ |
61 | 65 | public function removeAuthor(ThemeAuthor $author): void; |
62 | 66 | |
@@ -67,11 +71,13 @@ discard block |
||
67 | 71 | |
68 | 72 | /** |
69 | 73 | * @param ThemeInterface $theme |
74 | + * @return void |
|
70 | 75 | */ |
71 | 76 | public function addParent(self $theme): void; |
72 | 77 | |
73 | 78 | /** |
74 | 79 | * @param ThemeInterface $theme |
80 | + * @return void |
|
75 | 81 | */ |
76 | 82 | public function removeParent(self $theme): void; |
77 | 83 | |
@@ -82,11 +88,13 @@ discard block |
||
82 | 88 | |
83 | 89 | /** |
84 | 90 | * @param ThemeScreenshot $screenshot |
91 | + * @return void |
|
85 | 92 | */ |
86 | 93 | public function addScreenshot(ThemeScreenshot $screenshot): void; |
87 | 94 | |
88 | 95 | /** |
89 | 96 | * @param ThemeScreenshot $screenshot |
97 | + * @return void |
|
90 | 98 | */ |
91 | 99 | public function removeScreenshot(ThemeScreenshot $screenshot): void; |
92 | 100 | } |
@@ -39,6 +39,7 @@ discard block |
||
39 | 39 | |
40 | 40 | /** |
41 | 41 | * @param TaxonInterface|null $taxon |
42 | + * @return void |
|
42 | 43 | */ |
43 | 44 | public function setParent(?self $taxon): void; |
44 | 45 | |
@@ -66,11 +67,13 @@ discard block |
||
66 | 67 | |
67 | 68 | /** |
68 | 69 | * @param TaxonInterface $taxon |
70 | + * @return void |
|
69 | 71 | */ |
70 | 72 | public function addChild(self $taxon): void; |
71 | 73 | |
72 | 74 | /** |
73 | 75 | * @param TaxonInterface $taxon |
76 | + * @return void |
|
74 | 77 | */ |
75 | 78 | public function removeChild(self $taxon): void; |
76 | 79 | |
@@ -81,6 +84,7 @@ discard block |
||
81 | 84 | |
82 | 85 | /** |
83 | 86 | * @param string|null $name |
87 | + * @return void |
|
84 | 88 | */ |
85 | 89 | public function setName(?string $name): void; |
86 | 90 | |
@@ -91,6 +95,7 @@ discard block |
||
91 | 95 | |
92 | 96 | /** |
93 | 97 | * @param string|null $description |
98 | + * @return void |
|
94 | 99 | */ |
95 | 100 | public function setDescription(?string $description): void; |
96 | 101 | |
@@ -101,6 +106,7 @@ discard block |
||
101 | 106 | |
102 | 107 | /** |
103 | 108 | * @param int|null $left |
109 | + * @return void |
|
104 | 110 | */ |
105 | 111 | public function setLeft(?int $left): void; |
106 | 112 | |
@@ -111,6 +117,7 @@ discard block |
||
111 | 117 | |
112 | 118 | /** |
113 | 119 | * @param int|null $right |
120 | + * @return void |
|
114 | 121 | */ |
115 | 122 | public function setRight(?int $right): void; |
116 | 123 | |
@@ -121,6 +128,7 @@ discard block |
||
121 | 128 | |
122 | 129 | /** |
123 | 130 | * @param int|null $level |
131 | + * @return void |
|
124 | 132 | */ |
125 | 133 | public function setLevel(?int $level): void; |
126 | 134 | |
@@ -131,6 +139,7 @@ discard block |
||
131 | 139 | |
132 | 140 | /** |
133 | 141 | * @param int|null $position |
142 | + * @return void |
|
134 | 143 | */ |
135 | 144 | public function setPosition(?int $position): void; |
136 | 145 |
@@ -25,6 +25,7 @@ discard block |
||
25 | 25 | /** |
26 | 26 | * @param string $name |
27 | 27 | * @param string $languageCode |
28 | + * @return void |
|
28 | 29 | */ |
29 | 30 | public function nameItIn($name, $languageCode); |
30 | 31 | |
@@ -36,11 +37,13 @@ discard block |
||
36 | 37 | /** |
37 | 38 | * @param string $code |
38 | 39 | * @param string $value |
40 | + * @return void |
|
39 | 41 | */ |
40 | 42 | public function addOptionValue($code, $value); |
41 | 43 | |
42 | 44 | /** |
43 | 45 | * @param string $optionValue |
46 | + * @return void |
|
44 | 47 | */ |
45 | 48 | public function removeOptionValue($optionValue); |
46 | 49 | } |
@@ -22,6 +22,7 @@ discard block |
||
22 | 22 | { |
23 | 23 | /** |
24 | 24 | * @throws ElementNotFoundException |
25 | + * @return void |
|
25 | 26 | */ |
26 | 27 | public function addToCart(); |
27 | 28 | |
@@ -29,6 +30,7 @@ discard block |
||
29 | 30 | * @param string $quantity |
30 | 31 | * |
31 | 32 | * @throws ElementNotFoundException |
33 | + * @return void |
|
32 | 34 | */ |
33 | 35 | public function addToCartWithQuantity($quantity); |
34 | 36 | |
@@ -36,6 +38,7 @@ discard block |
||
36 | 38 | * @param string $variant |
37 | 39 | * |
38 | 40 | * @throws ElementNotFoundException |
41 | + * @return void |
|
39 | 42 | */ |
40 | 43 | public function addToCartWithVariant($variant); |
41 | 44 | |
@@ -44,6 +47,7 @@ discard block |
||
44 | 47 | * @param string $optionValue |
45 | 48 | * |
46 | 49 | * @throws ElementNotFoundException |
50 | + * @return void |
|
47 | 51 | */ |
48 | 52 | public function addToCartWithOption(ProductOptionInterface $option, $optionValue); |
49 | 53 | |
@@ -59,6 +63,7 @@ discard block |
||
59 | 63 | |
60 | 64 | /** |
61 | 65 | * @param string $url |
66 | + * @return void |
|
62 | 67 | */ |
63 | 68 | public function visit($url); |
64 | 69 | |
@@ -83,6 +88,7 @@ discard block |
||
83 | 88 | |
84 | 89 | /** |
85 | 90 | * @param int $timeout |
91 | + * @return void |
|
86 | 92 | */ |
87 | 93 | public function waitForValidationErrors($timeout); |
88 | 94 | |
@@ -126,11 +132,13 @@ discard block |
||
126 | 132 | /** |
127 | 133 | * @param string $optionName |
128 | 134 | * @param string $optionValue |
135 | + * @return void |
|
129 | 136 | */ |
130 | 137 | public function selectOption($optionName, $optionValue); |
131 | 138 | |
132 | 139 | /** |
133 | 140 | * @param string $variantName |
141 | + * @return void |
|
134 | 142 | */ |
135 | 143 | public function selectVariant($variantName); |
136 | 144 |
@@ -23,39 +23,46 @@ discard block |
||
23 | 23 | /** |
24 | 24 | * @param string $channelName |
25 | 25 | * @param int $price |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function specifyPrice($channelName, $price); |
28 | 29 | |
29 | 30 | /** |
30 | 31 | * @param string $channelName |
31 | 32 | * @param int $originalPrice |
33 | + * @return void |
|
32 | 34 | */ |
33 | 35 | public function specifyOriginalPrice($channelName, $originalPrice); |
34 | 36 | |
35 | 37 | /** |
36 | 38 | * @param string $name |
39 | + * @return void |
|
37 | 40 | */ |
38 | 41 | public function choosePricingCalculator($name); |
39 | 42 | |
40 | 43 | /** |
41 | 44 | * @param string $channelName |
45 | + * @return void |
|
42 | 46 | */ |
43 | 47 | public function checkChannel($channelName); |
44 | 48 | |
45 | 49 | /** |
46 | 50 | * @param string $code |
51 | + * @return void |
|
47 | 52 | */ |
48 | 53 | public function specifyCode($code); |
49 | 54 | |
50 | 55 | /** |
51 | 56 | * @param string $name |
52 | 57 | * @param string $localeCode |
58 | + * @return void |
|
53 | 59 | */ |
54 | 60 | public function nameItIn($name, $localeCode); |
55 | 61 | |
56 | 62 | /** |
57 | 63 | * @param string $slug |
58 | 64 | * @param string $locale |
65 | + * @return void |
|
59 | 66 | */ |
60 | 67 | public function specifySlugIn($slug, $locale); |
61 | 68 | |
@@ -63,6 +70,7 @@ discard block |
||
63 | 70 | * @param string $attributeName |
64 | 71 | * @param string $value |
65 | 72 | * @param string $localeCode |
73 | + * @return void |
|
66 | 74 | */ |
67 | 75 | public function addAttribute($attributeName, $value, $localeCode); |
68 | 76 | |
@@ -77,39 +85,46 @@ discard block |
||
77 | 85 | /** |
78 | 86 | * @param string $attributeName |
79 | 87 | * @param string $localeCode |
88 | + * @return void |
|
80 | 89 | */ |
81 | 90 | public function removeAttribute($attributeName, $localeCode); |
82 | 91 | |
83 | 92 | /** |
84 | 93 | * @param string $path |
85 | 94 | * @param string $type |
95 | + * @return void |
|
86 | 96 | */ |
87 | 97 | public function attachImage($path, $type = null); |
88 | 98 | |
89 | 99 | /** |
90 | 100 | * @param ProductAssociationTypeInterface $productAssociationType |
91 | 101 | * @param string[] $productsNames |
102 | + * @return void |
|
92 | 103 | */ |
93 | 104 | public function associateProducts(ProductAssociationTypeInterface $productAssociationType, array $productsNames); |
94 | 105 | |
95 | 106 | /** |
96 | 107 | * @param string $productName |
97 | 108 | * @param ProductAssociationTypeInterface $productAssociationType |
109 | + * @return void |
|
98 | 110 | */ |
99 | 111 | public function removeAssociatedProduct($productName, ProductAssociationTypeInterface $productAssociationType); |
100 | 112 | |
101 | 113 | /** |
102 | 114 | * @param string $locale |
115 | + * @return void |
|
103 | 116 | */ |
104 | 117 | public function activateLanguageTab($locale); |
105 | 118 | |
106 | 119 | /** |
107 | 120 | * @param string $shippingCategoryName |
121 | + * @return void |
|
108 | 122 | */ |
109 | 123 | public function selectShippingCategory($shippingCategoryName); |
110 | 124 | |
111 | 125 | /** |
112 | 126 | * @param bool $isShippingRequired |
127 | + * @return void |
|
113 | 128 | */ |
114 | 129 | public function setShippingRequired($isShippingRequired); |
115 | 130 | } |