@@ -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]> |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Core\Model; |
15 | 15 |
@@ -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 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Core\Model; |
15 | 15 |
@@ -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 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Core\Promotion\Modifier; |
15 | 15 |
@@ -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 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Core\Resolver; |
15 | 15 |
@@ -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 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Core\TokenAssigner; |
15 | 15 |
@@ -16,5 +16,8 @@ |
||
16 | 16 | */ |
17 | 17 | interface UnpaidOrdersStateUpdaterInterface |
18 | 18 | { |
19 | + /** |
|
20 | + * @return void |
|
21 | + */ |
|
19 | 22 | public function cancel(); |
20 | 23 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Core\Updater; |
15 | 15 |
@@ -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 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Currency\Model; |
15 | 15 |
@@ -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 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Currency\Model; |
15 | 15 |
@@ -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 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Customer\Model; |
15 | 15 |