@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace Sylius\Bundle\UserBundle\Form\Type; |
13 | 13 | |
14 | 14 | use Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType; |
15 | -use Sylius\Component\Resource\Metadata\MetadataInterface; |
|
16 | 15 | use Symfony\Component\Form\Extension\Core\Type\CheckboxType; |
17 | 16 | use Symfony\Component\Form\Extension\Core\Type\EmailType; |
18 | 17 | use Symfony\Component\Form\Extension\Core\Type\PasswordType; |
@@ -12,17 +12,14 @@ |
||
12 | 12 | namespace Sylius\Bundle\CustomerBundle\DependencyInjection; |
13 | 13 | |
14 | 14 | use Sylius\Bundle\CustomerBundle\Form\Type\CustomerGroupType; |
15 | +use Sylius\Bundle\CustomerBundle\Form\Type\CustomerType; |
|
15 | 16 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
16 | -use Sylius\Bundle\ResourceBundle\Form\Type\ResourceChoiceType; |
|
17 | 17 | use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
18 | -use Sylius\Bundle\ResourceBundle\Form\Type\ResourceFromIdentifierType; |
|
19 | -use Sylius\Bundle\CustomerBundle\Form\Type\CustomerProfileType; |
|
20 | -use Sylius\Bundle\CustomerBundle\Form\Type\CustomerType; |
|
21 | -use Sylius\Component\Customer\Model\CustomerGroup; |
|
22 | -use Sylius\Component\Resource\Factory\Factory; |
|
23 | 18 | use Sylius\Component\Customer\Model\Customer; |
24 | -use Sylius\Component\Customer\Model\CustomerInterface; |
|
19 | +use Sylius\Component\Customer\Model\CustomerGroup; |
|
25 | 20 | use Sylius\Component\Customer\Model\CustomerGroupInterface; |
21 | +use Sylius\Component\Customer\Model\CustomerInterface; |
|
22 | +use Sylius\Component\Resource\Factory\Factory; |
|
26 | 23 | use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition; |
27 | 24 | use Symfony\Component\Config\Definition\Builder\TreeBuilder; |
28 | 25 | use Symfony\Component\Config\Definition\ConfigurationInterface; |
@@ -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; |
@@ -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 |
@@ -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]> |