@@ -35,6 +35,7 @@ discard block |
||
35 | 35 | |
36 | 36 | /** |
37 | 37 | * @param float $weight |
38 | + * @return void |
|
38 | 39 | */ |
39 | 40 | public function setWeight($weight); |
40 | 41 | |
@@ -45,6 +46,7 @@ discard block |
||
45 | 46 | |
46 | 47 | /** |
47 | 48 | * @param float $width |
49 | + * @return void |
|
48 | 50 | */ |
49 | 51 | public function setWidth($width); |
50 | 52 | |
@@ -55,6 +57,7 @@ discard block |
||
55 | 57 | |
56 | 58 | /** |
57 | 59 | * @param float $height |
60 | + * @return void |
|
58 | 61 | */ |
59 | 62 | public function setHeight($height); |
60 | 63 | |
@@ -65,16 +68,19 @@ discard block |
||
65 | 68 | |
66 | 69 | /** |
67 | 70 | * @param float $depth |
71 | + * @return void |
|
68 | 72 | */ |
69 | 73 | public function setDepth($depth); |
70 | 74 | |
71 | 75 | /** |
72 | 76 | * @param TaxCategoryInterface $category |
77 | + * @return void |
|
73 | 78 | */ |
74 | 79 | public function setTaxCategory(TaxCategoryInterface $category = null); |
75 | 80 | |
76 | 81 | /** |
77 | 82 | * @param ShippingCategoryInterface $shippingCategory |
83 | + * @return void |
|
78 | 84 | */ |
79 | 85 | public function setShippingCategory(ShippingCategoryInterface $shippingCategory); |
80 | 86 | |
@@ -106,11 +112,13 @@ discard block |
||
106 | 112 | |
107 | 113 | /** |
108 | 114 | * @param ChannelPricingInterface $channelPricing |
115 | + * @return void |
|
109 | 116 | */ |
110 | 117 | public function addChannelPricing(ChannelPricingInterface $channelPricing); |
111 | 118 | |
112 | 119 | /** |
113 | 120 | * @param ChannelPricingInterface $channelPricing |
121 | + * @return void |
|
114 | 122 | */ |
115 | 123 | public function removeChannelPricing(ChannelPricingInterface $channelPricing); |
116 | 124 | } |
@@ -16,8 +16,8 @@ |
||
16 | 16 | use Sylius\Component\Product\Model\ProductVariantInterface as BaseVariantInterface; |
17 | 17 | use Sylius\Component\Shipping\Model\ShippableInterface; |
18 | 18 | use Sylius\Component\Shipping\Model\ShippingCategoryInterface; |
19 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
20 | 19 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
20 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
21 | 21 | |
22 | 22 | /** |
23 | 23 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -25,6 +25,7 @@ |
||
25 | 25 | |
26 | 26 | /** |
27 | 27 | * @param int|null $perCustomerUsageLimit |
28 | + * @return void |
|
28 | 29 | */ |
29 | 30 | public function setPerCustomerUsageLimit($perCustomerUsageLimit); |
30 | 31 | } |
@@ -29,11 +29,13 @@ |
||
29 | 29 | |
30 | 30 | /** |
31 | 31 | * @param ZoneInterface|null $zone |
32 | + * @return void |
|
32 | 33 | */ |
33 | 34 | public function setZone(ZoneInterface $zone = null); |
34 | 35 | |
35 | 36 | /** |
36 | 37 | * @param TaxCategoryInterface|null $category |
38 | + * @return void |
|
37 | 39 | */ |
38 | 40 | public function setTaxCategory(TaxCategoryInterface $category = null); |
39 | 41 | } |
@@ -14,8 +14,8 @@ |
||
14 | 14 | use Sylius\Component\Addressing\Model\ZoneInterface; |
15 | 15 | use Sylius\Component\Channel\Model\ChannelsAwareInterface; |
16 | 16 | use Sylius\Component\Shipping\Model\ShippingMethodInterface as BaseShippingMethodInterface; |
17 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
18 | 17 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
18 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
19 | 19 | |
20 | 20 | /** |
21 | 21 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -26,6 +26,7 @@ |
||
26 | 26 | |
27 | 27 | /** |
28 | 28 | * @param ZoneInterface|null $zone |
29 | + * @return void |
|
29 | 30 | */ |
30 | 31 | public function setZone(ZoneInterface $zone = null); |
31 | 32 | } |
@@ -16,7 +16,6 @@ |
||
16 | 16 | use Sylius\Component\Core\Model\OrderItemInterface; |
17 | 17 | use Sylius\Component\Promotion\Checker\Rule\RuleCheckerInterface; |
18 | 18 | use Sylius\Component\Promotion\Model\PromotionSubjectInterface; |
19 | -use Sylius\Component\Resource\Exception\UnexpectedTypeException; |
|
20 | 19 | use Sylius\Component\Taxonomy\Repository\TaxonRepositoryInterface; |
21 | 20 | use Webmozart\Assert\Assert; |
22 | 21 |
@@ -20,11 +20,13 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param OrderInterface $order |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function increment(OrderInterface $order); |
25 | 26 | |
26 | 27 | /** |
27 | 28 | * @param OrderInterface $order |
29 | + * @return void |
|
28 | 30 | */ |
29 | 31 | public function decrement(OrderInterface $order); |
30 | 32 | } |
@@ -12,10 +12,10 @@ |
||
12 | 12 | namespace Sylius\Component\Core\Resolver; |
13 | 13 | |
14 | 14 | use Sylius\Component\Core\Model\ChannelInterface; |
15 | +use Sylius\Component\Core\Model\ShipmentInterface as CoreShipmentInterface; |
|
15 | 16 | use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface; |
16 | 17 | use Sylius\Component\Shipping\Exception\UnresolvedDefaultShippingMethodException; |
17 | 18 | use Sylius\Component\Shipping\Model\ShipmentInterface; |
18 | -use Sylius\Component\Core\Model\ShipmentInterface as CoreShipmentInterface; |
|
19 | 19 | use Sylius\Component\Shipping\Resolver\DefaultShippingMethodResolverInterface; |
20 | 20 | use Webmozart\Assert\Assert; |
21 | 21 |
@@ -20,6 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param OrderInterface $order |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function assignTokenValue(OrderInterface $order); |
25 | 26 | } |
@@ -16,5 +16,8 @@ |
||
16 | 16 | */ |
17 | 17 | interface UnpaidOrdersStateUpdaterInterface |
18 | 18 | { |
19 | + /** |
|
20 | + * @return void |
|
21 | + */ |
|
19 | 22 | public function cancel(); |
20 | 23 | } |