@@ -23,11 +23,13 @@ discard block |
||
23 | 23 | { |
24 | 24 | /** |
25 | 25 | * @param int $price |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function specifyPrice($price); |
28 | 29 | |
29 | 30 | /** |
30 | 31 | * @param string $name |
32 | + * @return void |
|
31 | 33 | */ |
32 | 34 | public function choosePricingCalculator($name); |
33 | 35 | |
@@ -35,53 +37,65 @@ discard block |
||
35 | 37 | * @param int $price |
36 | 38 | * @param ChannelInterface $channel |
37 | 39 | * @param CurrencyInterface $currency |
40 | + * @return void |
|
38 | 41 | */ |
39 | 42 | public function specifyPriceForChannelAndCurrency($price, ChannelInterface $channel, CurrencyInterface $currency); |
40 | 43 | |
41 | 44 | /** |
42 | 45 | * @param string $code |
46 | + * @return void |
|
43 | 47 | */ |
44 | 48 | public function specifyCode($code); |
45 | 49 | |
46 | 50 | /** |
47 | 51 | * @param string $name |
48 | 52 | * @param string $localeCode |
53 | + * @return void |
|
49 | 54 | */ |
50 | 55 | public function nameItIn($name, $localeCode); |
51 | 56 | |
52 | 57 | /** |
53 | 58 | * @param string $slug |
59 | + * @return void |
|
54 | 60 | */ |
55 | 61 | public function specifySlug($slug); |
56 | 62 | |
57 | 63 | /** |
58 | 64 | * @param string $attribute |
59 | 65 | * @param string $value |
66 | + * @return void |
|
60 | 67 | */ |
61 | 68 | public function addAttribute($attribute, $value); |
62 | 69 | |
63 | 70 | /** |
64 | 71 | * @param string $attribute |
72 | + * @return void |
|
65 | 73 | */ |
66 | 74 | public function removeAttribute($attribute); |
67 | 75 | |
68 | 76 | /** |
69 | 77 | * @param string $path |
70 | 78 | * @param string $code |
79 | + * @return void |
|
71 | 80 | */ |
72 | 81 | public function attachImage($path, $code = null); |
73 | 82 | |
83 | + /** |
|
84 | + * @return void |
|
85 | + */ |
|
74 | 86 | public function enableSlugModification(); |
75 | 87 | |
76 | 88 | /** |
77 | 89 | * @param ProductAssociationTypeInterface $productAssociationType |
78 | 90 | * @param string[] $productsNames |
91 | + * @return void |
|
79 | 92 | */ |
80 | 93 | public function associateProducts(ProductAssociationTypeInterface $productAssociationType, array $productsNames); |
81 | 94 | |
82 | 95 | /** |
83 | 96 | * @param string $productName |
84 | 97 | * @param ProductAssociationTypeInterface $productAssociationType |
98 | + * @return void |
|
85 | 99 | */ |
86 | 100 | public function removeAssociatedProduct($productName, ProductAssociationTypeInterface $productAssociationType); |
87 | 101 | } |
@@ -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 |