@@ -36,11 +36,13 @@ discard block |
||
36 | 36 | |
37 | 37 | /** |
38 | 38 | * @param string $locale |
39 | + * @return void |
|
39 | 40 | */ |
40 | 41 | public function setCurrentLocale($locale); |
41 | 42 | |
42 | 43 | /** |
43 | 44 | * @param string $locale |
45 | + * @return void |
|
44 | 46 | */ |
45 | 47 | public function setFallbackLocale($locale); |
46 | 48 | |
@@ -51,11 +53,13 @@ discard block |
||
51 | 53 | |
52 | 54 | /** |
53 | 55 | * @param TranslationInterface $translation |
56 | + * @return void |
|
54 | 57 | */ |
55 | 58 | public function addTranslation(TranslationInterface $translation); |
56 | 59 | |
57 | 60 | /** |
58 | 61 | * @param TranslationInterface $translation |
62 | + * @return void |
|
59 | 63 | */ |
60 | 64 | public function removeTranslation(TranslationInterface $translation); |
61 | 65 | } |
@@ -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 |
@@ -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 | } |
@@ -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 |
@@ -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 | { |
@@ -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 | } |