@@ -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 |
@@ -30,6 +30,7 @@ discard block |
||
30 | 30 | |
31 | 31 | /** |
32 | 32 | * @param string $name |
33 | + * @return void |
|
33 | 34 | */ |
34 | 35 | public function setName($name); |
35 | 36 | |
@@ -40,6 +41,7 @@ discard block |
||
40 | 41 | |
41 | 42 | /** |
42 | 43 | * @param string $description |
44 | + * @return void |
|
43 | 45 | */ |
44 | 46 | public function setDescription($description); |
45 | 47 | |
@@ -50,11 +52,13 @@ discard block |
||
50 | 52 | |
51 | 53 | /** |
52 | 54 | * @param PermissionInterface $permission |
55 | + * @return void |
|
53 | 56 | */ |
54 | 57 | public function addPermission(PermissionInterface $permission); |
55 | 58 | |
56 | 59 | /** |
57 | 60 | * @param PermissionInterface $permission |
61 | + * @return void |
|
58 | 62 | */ |
59 | 63 | public function removePermission(PermissionInterface $permission); |
60 | 64 | |
@@ -72,6 +76,7 @@ discard block |
||
72 | 76 | |
73 | 77 | /** |
74 | 78 | * @param RoleInterface $role |
79 | + * @return void |
|
75 | 80 | */ |
76 | 81 | public function setParent(RoleInterface $role); |
77 | 82 | |
@@ -87,11 +92,13 @@ discard block |
||
87 | 92 | |
88 | 93 | /** |
89 | 94 | * @param RoleInterface $role |
95 | + * @return void |
|
90 | 96 | */ |
91 | 97 | public function addChild(RoleInterface $role); |
92 | 98 | |
93 | 99 | /** |
94 | 100 | * @param RoleInterface $role |
101 | + * @return void |
|
95 | 102 | */ |
96 | 103 | public function removeChild(RoleInterface $role); |
97 | 104 | |
@@ -109,6 +116,7 @@ discard block |
||
109 | 116 | |
110 | 117 | /** |
111 | 118 | * @param int $left |
119 | + * @return void |
|
112 | 120 | */ |
113 | 121 | public function setLeft($left); |
114 | 122 | |
@@ -119,6 +127,7 @@ discard block |
||
119 | 127 | |
120 | 128 | /** |
121 | 129 | * @param int $right |
130 | + * @return void |
|
122 | 131 | */ |
123 | 132 | public function setRight($right); |
124 | 133 | |
@@ -129,6 +138,7 @@ discard block |
||
129 | 138 | |
130 | 139 | /** |
131 | 140 | * @param int $level |
141 | + * @return void |
|
132 | 142 | */ |
133 | 143 | public function setLevel($level); |
134 | 144 | } |
@@ -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,62 +37,73 @@ 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 |
54 | 59 | * @param string $locale |
60 | + * @return void |
|
55 | 61 | */ |
56 | 62 | public function specifySlugIn($slug, $locale); |
57 | 63 | |
58 | 64 | /** |
59 | 65 | * @param string $attribute |
60 | 66 | * @param string $value |
67 | + * @return void |
|
61 | 68 | */ |
62 | 69 | public function addAttribute($attribute, $value); |
63 | 70 | |
64 | 71 | /** |
65 | 72 | * @param string $attribute |
73 | + * @return void |
|
66 | 74 | */ |
67 | 75 | public function removeAttribute($attribute); |
68 | 76 | |
69 | 77 | /** |
70 | 78 | * @param string $path |
71 | 79 | * @param string $code |
80 | + * @return void |
|
72 | 81 | */ |
73 | 82 | public function attachImage($path, $code = null); |
74 | 83 | |
75 | 84 | /** |
76 | 85 | * @param ProductAssociationTypeInterface $productAssociationType |
77 | 86 | * @param string[] $productsNames |
87 | + * @return void |
|
78 | 88 | */ |
79 | 89 | public function associateProducts(ProductAssociationTypeInterface $productAssociationType, array $productsNames); |
80 | 90 | |
81 | 91 | /** |
82 | 92 | * @param string $productName |
83 | 93 | * @param ProductAssociationTypeInterface $productAssociationType |
94 | + * @return void |
|
84 | 95 | */ |
85 | 96 | public function removeAssociatedProduct($productName, ProductAssociationTypeInterface $productAssociationType); |
86 | 97 | |
87 | 98 | /** |
88 | 99 | * @param string $locale |
100 | + * @return void |
|
89 | 101 | */ |
90 | 102 | public function activateLanguageTab($locale); |
91 | 103 | |
92 | 104 | /** |
93 | 105 | * @param string $shippingCategoryName |
106 | + * @return void |
|
94 | 107 | */ |
95 | 108 | public function selectShippingCategory($shippingCategoryName); |
96 | 109 | } |
@@ -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 | } |
@@ -11,12 +11,7 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Bundle\AttributeBundle\DependencyInjection; |
13 | 13 | |
14 | -use Sylius\Bundle\AttributeBundle\Controller\ProductAttributeController; |
|
15 | -use Sylius\Bundle\AttributeBundle\Form\Type\AttributeTranslationType; |
|
16 | -use Sylius\Bundle\AttributeBundle\Form\Type\AttributeType; |
|
17 | -use Sylius\Bundle\AttributeBundle\Form\Type\AttributeValueType; |
|
18 | 14 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
19 | -use Sylius\Bundle\ResourceBundle\Form\Type\ResourceChoiceType; |
|
20 | 15 | use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
21 | 16 | use Sylius\Component\Attribute\Model\Attribute; |
22 | 17 | use Sylius\Component\Attribute\Model\AttributeInterface; |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace Sylius\Bundle\ProductBundle\DependencyInjection; |
13 | 13 | |
14 | 14 | use Sylius\Bundle\ProductBundle\Controller\ProductAttributeController; |
15 | -use Sylius\Bundle\ProductBundle\Form\Type\ProductAttributeChoiceType; |
|
16 | 15 | use Sylius\Bundle\ProductBundle\Form\Type\ProductAttributeTranslationType; |
17 | 16 | use Sylius\Bundle\ProductBundle\Form\Type\ProductAttributeType; |
18 | 17 | use Sylius\Bundle\ProductBundle\Form\Type\ProductAttributeValueType; |
@@ -16,7 +16,6 @@ |
||
16 | 16 | use Sylius\Component\Channel\Model\ChannelInterface as BaseChannelInterface; |
17 | 17 | use Sylius\Component\Product\Model\Product as BaseProduct; |
18 | 18 | use Sylius\Component\Review\Model\ReviewInterface; |
19 | -use Sylius\Component\Shipping\Model\ShippingCategoryInterface; |
|
20 | 19 | use Sylius\Component\Taxonomy\Model\TaxonInterface as BaseTaxonInterface; |
21 | 20 | |
22 | 21 | /** |
@@ -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 |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use Sylius\Component\Channel\Model\ChannelsAwareInterface; |
15 | 15 | use Sylius\Component\Product\Model\ProductInterface as BaseProductInterface; |
16 | 16 | use Sylius\Component\Review\Model\ReviewableInterface; |
17 | -use Sylius\Component\Shipping\Model\ShippingCategoryInterface; |
|
18 | 17 | |
19 | 18 | /** |
20 | 19 | * @author Paweł Jędrzejewski <[email protected]> |