@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | } |
94 | 94 | |
95 | 95 | /** |
96 | - * @param $code |
|
96 | + * @param string $code |
|
97 | 97 | * |
98 | 98 | * @return null|string |
99 | 99 | */ |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | } |
104 | 104 | |
105 | 105 | /** |
106 | - * @return array |
|
106 | + * @return string[] |
|
107 | 107 | */ |
108 | 108 | private function getAvailableCountries() |
109 | 109 | { |
@@ -29,18 +29,21 @@ discard block |
||
29 | 29 | public function isCodeDisabled(); |
30 | 30 | |
31 | 31 | /** |
32 | + * @param string $locale |
|
32 | 33 | * @return bool |
33 | 34 | */ |
34 | 35 | public function isSlugReadOnlyIn($locale); |
35 | 36 | |
36 | 37 | /** |
37 | 38 | * @param int $price |
39 | + * @return void |
|
38 | 40 | */ |
39 | 41 | public function specifyPrice($price); |
40 | 42 | |
41 | 43 | /** |
42 | 44 | * @param string $name |
43 | 45 | * @param string $localeCode |
46 | + * @return void |
|
44 | 47 | */ |
45 | 48 | public function nameItIn($name, $localeCode); |
46 | 49 | |
@@ -67,11 +70,18 @@ discard block |
||
67 | 70 | |
68 | 71 | /** |
69 | 72 | * @param TaxonInterface $taxon |
73 | + * @return void |
|
70 | 74 | */ |
71 | 75 | public function selectMainTaxon(TaxonInterface $taxon); |
72 | 76 | |
77 | + /** |
|
78 | + * @return void |
|
79 | + */ |
|
73 | 80 | public function disableTracking(); |
74 | 81 | |
82 | + /** |
|
83 | + * @return void |
|
84 | + */ |
|
75 | 85 | public function enableTracking(); |
76 | 86 | |
77 | 87 | /** |
@@ -81,6 +91,7 @@ discard block |
||
81 | 91 | |
82 | 92 | /** |
83 | 93 | * @param string $locale |
94 | + * @return void |
|
84 | 95 | */ |
85 | 96 | public function enableSlugModification($locale); |
86 | 97 | |
@@ -94,20 +105,26 @@ discard block |
||
94 | 105 | /** |
95 | 106 | * @param string $path |
96 | 107 | * @param string $code |
108 | + * @return void |
|
97 | 109 | */ |
98 | 110 | public function attachImage($path, $code = null); |
99 | 111 | |
100 | 112 | /** |
101 | 113 | * @param string $code |
102 | 114 | * @param string $path |
115 | + * @return void |
|
103 | 116 | */ |
104 | 117 | public function changeImageWithCode($code, $path); |
105 | 118 | |
106 | 119 | /** |
107 | 120 | * @param string $code |
121 | + * @return void |
|
108 | 122 | */ |
109 | 123 | public function removeImageWithCode($code); |
110 | 124 | |
125 | + /** |
|
126 | + * @return void |
|
127 | + */ |
|
111 | 128 | public function removeFirstImage(); |
112 | 129 | |
113 | 130 | /** |
@@ -130,6 +147,7 @@ discard block |
||
130 | 147 | /** |
131 | 148 | * @param ProductAssociationTypeInterface $productAssociationType |
132 | 149 | * @param string[] $productsNames |
150 | + * @return void |
|
133 | 151 | */ |
134 | 152 | public function associateProducts(ProductAssociationTypeInterface $productAssociationType, array $productsNames); |
135 | 153 | |
@@ -144,6 +162,7 @@ discard block |
||
144 | 162 | /** |
145 | 163 | * @param string $productName |
146 | 164 | * @param ProductAssociationTypeInterface $productAssociationType |
165 | + * @return void |
|
147 | 166 | */ |
148 | 167 | public function removeAssociatedProduct($productName, ProductAssociationTypeInterface $productAssociationType); |
149 | 168 | |
@@ -157,6 +176,7 @@ discard block |
||
157 | 176 | |
158 | 177 | /** |
159 | 178 | * @param string $locale |
179 | + * @return void |
|
160 | 180 | */ |
161 | 181 | public function activateLanguageTab($locale); |
162 | 182 | |
@@ -170,6 +190,7 @@ discard block |
||
170 | 190 | /** |
171 | 191 | * @param string $slug |
172 | 192 | * @param string $locale |
193 | + * @return void |
|
173 | 194 | */ |
174 | 195 | public function specifySlugIn($slug, $locale); |
175 | 196 | } |
@@ -26,10 +26,14 @@ |
||
26 | 26 | */ |
27 | 27 | public function checkValidationMessageFor($element, $message); |
28 | 28 | |
29 | + /** |
|
30 | + * @return void |
|
31 | + */ |
|
29 | 32 | public function reset(); |
30 | 33 | |
31 | 34 | /** |
32 | 35 | * @param string $email |
36 | + * @return void |
|
33 | 37 | */ |
34 | 38 | public function specifyEmail($email); |
35 | 39 | } |
@@ -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 | } |
@@ -55,11 +55,13 @@ discard block |
||
55 | 55 | |
56 | 56 | /** |
57 | 57 | * @param ProductVariantImageInterface $image |
58 | + * @return void |
|
58 | 59 | */ |
59 | 60 | public function addImage(ProductVariantImageInterface $image); |
60 | 61 | |
61 | 62 | /** |
62 | 63 | * @param ProductVariantImageInterface $image |
64 | + * @return void |
|
63 | 65 | */ |
64 | 66 | public function removeImage(ProductVariantImageInterface $image); |
65 | 67 | |
@@ -70,6 +72,7 @@ discard block |
||
70 | 72 | |
71 | 73 | /** |
72 | 74 | * @param int $sold |
75 | + * @return void |
|
73 | 76 | */ |
74 | 77 | public function setSold($sold); |
75 | 78 | |
@@ -80,6 +83,7 @@ discard block |
||
80 | 83 | |
81 | 84 | /** |
82 | 85 | * @param float $weight |
86 | + * @return void |
|
83 | 87 | */ |
84 | 88 | public function setWeight($weight); |
85 | 89 | |
@@ -90,6 +94,7 @@ discard block |
||
90 | 94 | |
91 | 95 | /** |
92 | 96 | * @param float $width |
97 | + * @return void |
|
93 | 98 | */ |
94 | 99 | public function setWidth($width); |
95 | 100 | |
@@ -100,6 +105,7 @@ discard block |
||
100 | 105 | |
101 | 106 | /** |
102 | 107 | * @param float $height |
108 | + * @return void |
|
103 | 109 | */ |
104 | 110 | public function setHeight($height); |
105 | 111 | |
@@ -110,6 +116,7 @@ discard block |
||
110 | 116 | |
111 | 117 | /** |
112 | 118 | * @param float $depth |
119 | + * @return void |
|
113 | 120 | */ |
114 | 121 | public function setDepth($depth); |
115 | 122 | |
@@ -120,6 +127,7 @@ discard block |
||
120 | 127 | |
121 | 128 | /** |
122 | 129 | * @param int|null $originalPrice |
130 | + * @return void |
|
123 | 131 | */ |
124 | 132 | public function setOriginalPrice($originalPrice); |
125 | 133 | |
@@ -130,6 +138,7 @@ discard block |
||
130 | 138 | |
131 | 139 | /** |
132 | 140 | * @param TaxCategoryInterface $category |
141 | + * @return void |
|
133 | 142 | */ |
134 | 143 | public function setTaxCategory(TaxCategoryInterface $category = null); |
135 | 144 | } |
@@ -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 | } |
@@ -39,6 +39,7 @@ discard block |
||
39 | 39 | * Sets all option values. |
40 | 40 | * |
41 | 41 | * @param Collection $optionValues |
42 | + * @return void |
|
42 | 43 | */ |
43 | 44 | public function setValues(Collection $optionValues); |
44 | 45 | |
@@ -46,6 +47,7 @@ discard block |
||
46 | 47 | * Adds option value. |
47 | 48 | * |
48 | 49 | * @param OptionValueInterface $optionValue |
50 | + * @return void |
|
49 | 51 | */ |
50 | 52 | public function addValue(OptionValueInterface $optionValue); |
51 | 53 | |
@@ -53,6 +55,7 @@ discard block |
||
53 | 55 | * Removes option value. |
54 | 56 | * |
55 | 57 | * @param OptionValueInterface $optionValue |
58 | + * @return void |
|
56 | 59 | */ |
57 | 60 | public function removeValue(OptionValueInterface $optionValue); |
58 | 61 |
@@ -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 | } |
@@ -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 |