@@ -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 | } |
@@ -32,11 +32,13 @@ |
||
32 | 32 | |
33 | 33 | /** |
34 | 34 | * @param CurrencyInterface $currency |
35 | + * @return void |
|
35 | 36 | */ |
36 | 37 | public function addCurrency(CurrencyInterface $currency); |
37 | 38 | |
38 | 39 | /** |
39 | 40 | * @param CurrencyInterface $currency |
41 | + * @return void |
|
40 | 42 | */ |
41 | 43 | public function removeCurrency(CurrencyInterface $currency); |
42 | 44 | } |
@@ -25,6 +25,7 @@ discard block |
||
25 | 25 | |
26 | 26 | /** |
27 | 27 | * @param float $ratio |
28 | + * @return void |
|
28 | 29 | */ |
29 | 30 | public function setRatio($ratio); |
30 | 31 | |
@@ -35,6 +36,7 @@ discard block |
||
35 | 36 | |
36 | 37 | /** |
37 | 38 | * @param CurrencyInterface $currency |
39 | + * @return void |
|
38 | 40 | */ |
39 | 41 | public function setSourceCurrency(CurrencyInterface $currency); |
40 | 42 | |
@@ -45,6 +47,7 @@ discard block |
||
45 | 47 | |
46 | 48 | /** |
47 | 49 | * @param CurrencyInterface $currency |
50 | + * @return void |
|
48 | 51 | */ |
49 | 52 | public function setTargetCurrency(CurrencyInterface $currency); |
50 | 53 | } |
@@ -23,6 +23,7 @@ |
||
23 | 23 | |
24 | 24 | /** |
25 | 25 | * @param CustomerInterface $customer |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function setCustomer(CustomerInterface $customer = null); |
28 | 29 | } |
@@ -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 | } |