@@ -29,6 +29,7 @@ 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); |
@@ -36,19 +37,25 @@ discard block |
||
| 36 | 37 | /** |
| 37 | 38 | * @param string $channelName |
| 38 | 39 | * @param int $price |
| 40 | + * @return void |
|
| 39 | 41 | */ |
| 40 | 42 | public function specifyPrice($channelName, $price); |
| 41 | 43 | |
| 42 | 44 | /** |
| 43 | 45 | * @param string $name |
| 44 | 46 | * @param string $localeCode |
| 47 | + * @return void |
|
| 45 | 48 | */ |
| 46 | 49 | public function nameItIn($name, $localeCode); |
| 47 | 50 | |
| 51 | + /** |
|
| 52 | + * @return void |
|
| 53 | + */ |
|
| 48 | 54 | public function addSelectedAttributes(); |
| 49 | 55 | |
| 50 | 56 | /** |
| 51 | 57 | * @param string $attribute |
| 58 | + * @return void |
|
| 52 | 59 | */ |
| 53 | 60 | public function removeAttribute($attribute); |
| 54 | 61 | |
@@ -80,11 +87,18 @@ discard block |
||
| 80 | 87 | |
| 81 | 88 | /** |
| 82 | 89 | * @param TaxonInterface $taxon |
| 90 | + * @return void |
|
| 83 | 91 | */ |
| 84 | 92 | public function selectMainTaxon(TaxonInterface $taxon); |
| 85 | 93 | |
| 94 | + /** |
|
| 95 | + * @return void |
|
| 96 | + */ |
|
| 86 | 97 | public function disableTracking(); |
| 87 | 98 | |
| 99 | + /** |
|
| 100 | + * @return void |
|
| 101 | + */ |
|
| 88 | 102 | public function enableTracking(); |
| 89 | 103 | |
| 90 | 104 | /** |
@@ -94,6 +108,7 @@ discard block |
||
| 94 | 108 | |
| 95 | 109 | /** |
| 96 | 110 | * @param string $locale |
| 111 | + * @return void |
|
| 97 | 112 | */ |
| 98 | 113 | public function enableSlugModification($locale); |
| 99 | 114 | |
@@ -107,20 +122,26 @@ discard block |
||
| 107 | 122 | /** |
| 108 | 123 | * @param string $path |
| 109 | 124 | * @param string $code |
| 125 | + * @return void |
|
| 110 | 126 | */ |
| 111 | 127 | public function attachImage($path, $code = null); |
| 112 | 128 | |
| 113 | 129 | /** |
| 114 | 130 | * @param string $code |
| 115 | 131 | * @param string $path |
| 132 | + * @return void |
|
| 116 | 133 | */ |
| 117 | 134 | public function changeImageWithCode($code, $path); |
| 118 | 135 | |
| 119 | 136 | /** |
| 120 | 137 | * @param string $code |
| 138 | + * @return void |
|
| 121 | 139 | */ |
| 122 | 140 | public function removeImageWithCode($code); |
| 123 | 141 | |
| 142 | + /** |
|
| 143 | + * @return void |
|
| 144 | + */ |
|
| 124 | 145 | public function removeFirstImage(); |
| 125 | 146 | |
| 126 | 147 | /** |
@@ -143,6 +164,7 @@ discard block |
||
| 143 | 164 | /** |
| 144 | 165 | * @param ProductAssociationTypeInterface $productAssociationType |
| 145 | 166 | * @param string[] $productsNames |
| 167 | + * @return void |
|
| 146 | 168 | */ |
| 147 | 169 | public function associateProducts(ProductAssociationTypeInterface $productAssociationType, array $productsNames); |
| 148 | 170 | |
@@ -157,6 +179,7 @@ discard block |
||
| 157 | 179 | /** |
| 158 | 180 | * @param string $productName |
| 159 | 181 | * @param ProductAssociationTypeInterface $productAssociationType |
| 182 | + * @return void |
|
| 160 | 183 | */ |
| 161 | 184 | public function removeAssociatedProduct($productName, ProductAssociationTypeInterface $productAssociationType); |
| 162 | 185 | |
@@ -170,6 +193,7 @@ discard block |
||
| 170 | 193 | |
| 171 | 194 | /** |
| 172 | 195 | * @param string $locale |
| 196 | + * @return void |
|
| 173 | 197 | */ |
| 174 | 198 | public function activateLanguageTab($locale); |
| 175 | 199 | |
@@ -183,6 +207,7 @@ discard block |
||
| 183 | 207 | /** |
| 184 | 208 | * @param string $slug |
| 185 | 209 | * @param string $locale |
| 210 | + * @return void |
|
| 186 | 211 | */ |
| 187 | 212 | public function specifySlugIn($slug, $locale); |
| 188 | 213 | |
@@ -23,7 +23,6 @@ |
||
| 23 | 23 | use Sylius\Component\Order\Modifier\OrderModifierInterface; |
| 24 | 24 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
| 25 | 25 | use Symfony\Component\Form\FormFactoryInterface; |
| 26 | -use Symfony\Component\HttpFoundation\JsonResponse; |
|
| 27 | 26 | use Symfony\Component\HttpFoundation\RedirectResponse; |
| 28 | 27 | use Symfony\Component\HttpFoundation\Request; |
| 29 | 28 | use Symfony\Component\HttpFoundation\Response; |