@@ -27,6 +27,7 @@ discard block |
||
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * @param string|null $type |
| 30 | + * @return void |
|
| 30 | 31 | */ |
| 31 | 32 | public function setType(?string $type): void; |
| 32 | 33 | |
@@ -37,6 +38,7 @@ discard block |
||
| 37 | 38 | |
| 38 | 39 | /** |
| 39 | 40 | * @param \SplFileInfo|null $file |
| 41 | + * @return void |
|
| 40 | 42 | */ |
| 41 | 43 | public function setFile(?\SplFileInfo $file): void; |
| 42 | 44 | |
@@ -52,6 +54,7 @@ discard block |
||
| 52 | 54 | |
| 53 | 55 | /** |
| 54 | 56 | * @param string|null $path |
| 57 | + * @return void |
|
| 55 | 58 | */ |
| 56 | 59 | public function setPath(?string $path): void; |
| 57 | 60 | |
@@ -62,6 +65,7 @@ discard block |
||
| 62 | 65 | |
| 63 | 66 | /** |
| 64 | 67 | * @param object|null $owner |
| 68 | + * @return void |
|
| 65 | 69 | */ |
| 66 | 70 | public function setOwner($owner): void; |
| 67 | 71 | } |
@@ -46,11 +46,13 @@ |
||
| 46 | 46 | |
| 47 | 47 | /** |
| 48 | 48 | * @param ImageInterface $image |
| 49 | + * @return void |
|
| 49 | 50 | */ |
| 50 | 51 | public function addImage(ImageInterface $image): void; |
| 51 | 52 | |
| 52 | 53 | /** |
| 53 | 54 | * @param ImageInterface $image |
| 55 | + * @return void |
|
| 54 | 56 | */ |
| 55 | 57 | public function removeImage(ImageInterface $image): void; |
| 56 | 58 | } |
@@ -24,6 +24,7 @@ |
||
| 24 | 24 | { |
| 25 | 25 | /** |
| 26 | 26 | * @param GatewayConfigInterface|null $gateway |
| 27 | + * @return void |
|
| 27 | 28 | */ |
| 28 | 29 | public function setGatewayConfig(?GatewayConfigInterface $gateway): void; |
| 29 | 30 | |
@@ -32,11 +32,13 @@ |
||
| 32 | 32 | |
| 33 | 33 | /** |
| 34 | 34 | * @param ProductVariantInterface $productVariant |
| 35 | + * @return void |
|
| 35 | 36 | */ |
| 36 | 37 | public function addProductVariant(ProductVariantInterface $productVariant): void; |
| 37 | 38 | |
| 38 | 39 | /** |
| 39 | 40 | * @param ProductVariantInterface $productVariant |
| 41 | + * @return void |
|
| 40 | 42 | */ |
| 41 | 43 | public function removeProductVariant(ProductVariantInterface $productVariant): void; |
| 42 | 44 | |
@@ -46,11 +46,13 @@ |
||
| 46 | 46 | |
| 47 | 47 | /** |
| 48 | 48 | * @param ProductImageInterface $image |
| 49 | + * @return void |
|
| 49 | 50 | */ |
| 50 | 51 | public function addImage(ProductImageInterface $image): void; |
| 51 | 52 | |
| 52 | 53 | /** |
| 53 | 54 | * @param ProductImageInterface $image |
| 55 | + * @return void |
|
| 54 | 56 | */ |
| 55 | 57 | public function removeImage(ProductImageInterface $image): void; |
| 56 | 58 | } |
@@ -50,6 +50,7 @@ discard block |
||
| 50 | 50 | * @param string|null $variantSelectionMethod |
| 51 | 51 | * |
| 52 | 52 | * @throws \InvalidArgumentException |
| 53 | + * @return void |
|
| 53 | 54 | */ |
| 54 | 55 | public function setVariantSelectionMethod(?string $variantSelectionMethod): void; |
| 55 | 56 | |
@@ -70,6 +71,7 @@ discard block |
||
| 70 | 71 | |
| 71 | 72 | /** |
| 72 | 73 | * @param string|null $shortDescription |
| 74 | + * @return void |
|
| 73 | 75 | */ |
| 74 | 76 | public function setShortDescription(?string $shortDescription): void; |
| 75 | 77 | |
@@ -80,6 +82,7 @@ discard block |
||
| 80 | 82 | |
| 81 | 83 | /** |
| 82 | 84 | * @param TaxonInterface|null $mainTaxon |
| 85 | + * @return void |
|
| 83 | 86 | */ |
| 84 | 87 | public function setMainTaxon(?TaxonInterface $mainTaxon): void; |
| 85 | 88 | |
@@ -17,8 +17,8 @@ |
||
| 17 | 17 | use Sylius\Component\Channel\Model\ChannelsAwareInterface; |
| 18 | 18 | use Sylius\Component\Product\Model\ProductInterface as BaseProductInterface; |
| 19 | 19 | use Sylius\Component\Resource\Model\TranslationInterface; |
| 20 | -use Sylius\Component\Review\Model\ReviewableInterface; |
|
| 21 | 20 | use Sylius\Component\Review\Model\ReviewInterface; |
| 21 | +use Sylius\Component\Review\Model\ReviewableInterface; |
|
| 22 | 22 | |
| 23 | 23 | interface ProductInterface extends |
| 24 | 24 | BaseProductInterface, |
@@ -34,11 +34,13 @@ |
||
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | 36 | * @param ProductTaxonInterface $productTaxon |
| 37 | + * @return void |
|
| 37 | 38 | */ |
| 38 | 39 | public function addProductTaxon(ProductTaxonInterface $productTaxon): void; |
| 39 | 40 | |
| 40 | 41 | /** |
| 41 | 42 | * @param ProductTaxonInterface $productTaxon |
| 43 | + * @return void |
|
| 42 | 44 | */ |
| 43 | 45 | public function removeProductTaxon(ProductTaxonInterface $productTaxon): void; |
| 44 | 46 | |
@@ -27,6 +27,7 @@ |
||
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * @param string|null $shortDescription |
| 30 | + * @return void |
|
| 30 | 31 | */ |
| 31 | 32 | public function setShortDescription(?string $shortDescription): void; |
| 32 | 33 | } |
@@ -40,6 +40,7 @@ discard block |
||
| 40 | 40 | |
| 41 | 41 | /** |
| 42 | 42 | * @param float|null $weight |
| 43 | + * @return void |
|
| 43 | 44 | */ |
| 44 | 45 | public function setWeight(?float $weight): void; |
| 45 | 46 | |
@@ -50,6 +51,7 @@ discard block |
||
| 50 | 51 | |
| 51 | 52 | /** |
| 52 | 53 | * @param float|null $width |
| 54 | + * @return void |
|
| 53 | 55 | */ |
| 54 | 56 | public function setWidth(?float $width): void; |
| 55 | 57 | |
@@ -60,6 +62,7 @@ discard block |
||
| 60 | 62 | |
| 61 | 63 | /** |
| 62 | 64 | * @param float|null $height |
| 65 | + * @return void |
|
| 63 | 66 | */ |
| 64 | 67 | public function setHeight(?float $height): void; |
| 65 | 68 | |
@@ -70,16 +73,19 @@ discard block |
||
| 70 | 73 | |
| 71 | 74 | /** |
| 72 | 75 | * @param float|null $depth |
| 76 | + * @return void |
|
| 73 | 77 | */ |
| 74 | 78 | public function setDepth(?float $depth): void; |
| 75 | 79 | |
| 76 | 80 | /** |
| 77 | 81 | * @param TaxCategoryInterface|null $category |
| 82 | + * @return void |
|
| 78 | 83 | */ |
| 79 | 84 | public function setTaxCategory(?TaxCategoryInterface $category): void; |
| 80 | 85 | |
| 81 | 86 | /** |
| 82 | 87 | * @param ShippingCategoryInterface|null $shippingCategory |
| 88 | + * @return void |
|
| 83 | 89 | */ |
| 84 | 90 | public function setShippingCategory(?ShippingCategoryInterface $shippingCategory): void; |
| 85 | 91 | |
@@ -111,11 +117,13 @@ discard block |
||
| 111 | 117 | |
| 112 | 118 | /** |
| 113 | 119 | * @param ChannelPricingInterface $channelPricing |
| 120 | + * @return void |
|
| 114 | 121 | */ |
| 115 | 122 | public function addChannelPricing(ChannelPricingInterface $channelPricing): void; |
| 116 | 123 | |
| 117 | 124 | /** |
| 118 | 125 | * @param ChannelPricingInterface $channelPricing |
| 126 | + * @return void |
|
| 119 | 127 | */ |
| 120 | 128 | public function removeChannelPricing(ChannelPricingInterface $channelPricing): void; |
| 121 | 129 | |
@@ -126,6 +134,7 @@ discard block |
||
| 126 | 134 | |
| 127 | 135 | /** |
| 128 | 136 | * @param bool $shippingRequired |
| 137 | + * @return void |
|
| 129 | 138 | */ |
| 130 | 139 | public function setShippingRequired(bool $shippingRequired): void; |
| 131 | 140 | } |
@@ -19,8 +19,8 @@ |
||
| 19 | 19 | use Sylius\Component\Resource\Model\VersionedInterface; |
| 20 | 20 | use Sylius\Component\Shipping\Model\ShippableInterface; |
| 21 | 21 | use Sylius\Component\Shipping\Model\ShippingCategoryInterface; |
| 22 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
| 23 | 22 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
| 23 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
| 24 | 24 | |
| 25 | 25 | interface ProductVariantInterface extends |
| 26 | 26 | BaseVariantInterface, |