@@ -13,7 +13,6 @@ |
||
| 13 | 13 | |
| 14 | 14 | use Sylius\Component\Product\Model\ProductInterface; |
| 15 | 15 | use Sylius\Component\Product\Model\ProductVariantInterface; |
| 16 | -use Webmozart\Assert\Assert; |
|
| 17 | 16 | |
| 18 | 17 | /** |
| 19 | 18 | * @author Łukasz Chruściel <[email protected]> |
@@ -22,6 +22,7 @@ |
||
| 22 | 22 | * @param ProductInterface $product |
| 23 | 23 | * |
| 24 | 24 | * @throws \InvalidArgumentException |
| 25 | + * @return void |
|
| 25 | 26 | */ |
| 26 | 27 | public function generate(ProductInterface $product); |
| 27 | 28 | } |
@@ -27,6 +27,7 @@ discard block |
||
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * @param ProductAssociationTypeInterface $type |
| 30 | + * @return void |
|
| 30 | 31 | */ |
| 31 | 32 | public function setType(ProductAssociationTypeInterface $type); |
| 32 | 33 | |
@@ -37,6 +38,7 @@ discard block |
||
| 37 | 38 | |
| 38 | 39 | /** |
| 39 | 40 | * @param ProductInterface|null $owner |
| 41 | + * @return void |
|
| 40 | 42 | */ |
| 41 | 43 | public function setOwner(ProductInterface $owner = null); |
| 42 | 44 | |
@@ -47,11 +49,13 @@ discard block |
||
| 47 | 49 | |
| 48 | 50 | /** |
| 49 | 51 | * @param ProductInterface $product |
| 52 | + * @return void |
|
| 50 | 53 | */ |
| 51 | 54 | public function addAssociatedProduct(ProductInterface $product); |
| 52 | 55 | |
| 53 | 56 | /** |
| 54 | 57 | * @param ProductInterface $product |
| 58 | + * @return void |
|
| 55 | 59 | */ |
| 56 | 60 | public function removeAssociatedProduct(ProductInterface $product); |
| 57 | 61 | |
@@ -62,5 +66,8 @@ discard block |
||
| 62 | 66 | */ |
| 63 | 67 | public function hasAssociatedProduct(ProductInterface $product); |
| 64 | 68 | |
| 69 | + /** |
|
| 70 | + * @return void |
|
| 71 | + */ |
|
| 65 | 72 | public function clearAssociatedProducts(); |
| 66 | 73 | } |
@@ -28,6 +28,7 @@ |
||
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | 30 | * @param string $name |
| 31 | + * @return void |
|
| 31 | 32 | */ |
| 32 | 33 | public function setName($name); |
| 33 | 34 | } |
@@ -28,6 +28,7 @@ |
||
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | 30 | * @param string $name |
| 31 | + * @return void |
|
| 31 | 32 | */ |
| 32 | 33 | public function setName($name); |
| 33 | 34 | } |
@@ -25,6 +25,7 @@ |
||
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | 27 | * @param ProductInterface|null $product |
| 28 | + * @return void |
|
| 28 | 29 | */ |
| 29 | 30 | public function setProduct(ProductInterface $product = null); |
| 30 | 31 | } |
@@ -32,6 +32,7 @@ discard block |
||
| 32 | 32 | |
| 33 | 33 | /** |
| 34 | 34 | * @param int $position |
| 35 | + * @return void |
|
| 35 | 36 | */ |
| 36 | 37 | public function setPosition($position); |
| 37 | 38 | |
@@ -42,11 +43,13 @@ discard block |
||
| 42 | 43 | |
| 43 | 44 | /** |
| 44 | 45 | * @param ProductOptionValueInterface $optionValue |
| 46 | + * @return void |
|
| 45 | 47 | */ |
| 46 | 48 | public function addValue(ProductOptionValueInterface $optionValue); |
| 47 | 49 | |
| 48 | 50 | /** |
| 49 | 51 | * @param ProductOptionValueInterface $optionValue |
| 52 | + * @return void |
|
| 50 | 53 | */ |
| 51 | 54 | public function removeValue(ProductOptionValueInterface $optionValue); |
| 52 | 55 | |
@@ -28,6 +28,7 @@ |
||
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | 30 | * @param string $name |
| 31 | + * @return void |
|
| 31 | 32 | */ |
| 32 | 33 | public function setName($name); |
| 33 | 34 | } |
@@ -27,6 +27,7 @@ discard block |
||
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * @param ProductOptionInterface $option |
| 30 | + * @return void |
|
| 30 | 31 | */ |
| 31 | 32 | public function setOption(ProductOptionInterface $option = null); |
| 32 | 33 | |
@@ -37,6 +38,7 @@ discard block |
||
| 37 | 38 | |
| 38 | 39 | /** |
| 39 | 40 | * @param string $value |
| 41 | + * @return void |
|
| 40 | 42 | */ |
| 41 | 43 | public function setValue($value); |
| 42 | 44 | |