@@ -31,11 +31,13 @@ |
||
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | 33 | * @param ZoneInterface|null $zone |
| 34 | + * @return void |
|
| 34 | 35 | */ |
| 35 | 36 | public function setZone(?ZoneInterface $zone): void; |
| 36 | 37 | |
| 37 | 38 | /** |
| 38 | 39 | * @param TaxCategoryInterface|null $category |
| 40 | + * @return void |
|
| 39 | 41 | */ |
| 40 | 42 | public function setTaxCategory(?TaxCategoryInterface $category): void; |
| 41 | 43 | } |
@@ -16,8 +16,8 @@ |
||
| 16 | 16 | use Sylius\Component\Addressing\Model\ZoneInterface; |
| 17 | 17 | use Sylius\Component\Channel\Model\ChannelsAwareInterface; |
| 18 | 18 | use Sylius\Component\Shipping\Model\ShippingMethodInterface as BaseShippingMethodInterface; |
| 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 | interface ShippingMethodInterface extends BaseShippingMethodInterface, TaxableInterface, ChannelsAwareInterface |
| 23 | 23 | { |
@@ -28,6 +28,7 @@ |
||
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | 30 | * @param ZoneInterface|null $zone |
| 31 | + * @return void |
|
| 31 | 32 | */ |
| 32 | 33 | public function setZone(?ZoneInterface $zone): void; |
| 33 | 34 | } |
@@ -108,7 +108,7 @@ |
||
| 108 | 108 | * @param PaymentInterface $payment |
| 109 | 109 | * @param OrderInterface $order |
| 110 | 110 | * |
| 111 | - * @return PaymentMethodInterface|null |
|
| 111 | + * @return \Sylius\Component\Payment\Model\PaymentMethodInterface|null |
|
| 112 | 112 | */ |
| 113 | 113 | private function getDefaultPaymentMethod(PaymentInterface $payment, OrderInterface $order): ?PaymentMethodInterface |
| 114 | 114 | { |
@@ -25,6 +25,7 @@ |
||
| 25 | 25 | /** |
| 26 | 26 | * @param OrderInterface $order |
| 27 | 27 | * @param ZoneInterface $zone |
| 28 | + * @return void |
|
| 28 | 29 | */ |
| 29 | 30 | public function apply(OrderInterface $order, ZoneInterface $zone): void; |
| 30 | 31 | } |
@@ -24,6 +24,7 @@ |
||
| 24 | 24 | /** |
| 25 | 25 | * @param OrderInterface $order |
| 26 | 26 | * @param ZoneInterface $zone |
| 27 | + * @return void |
|
| 27 | 28 | */ |
| 28 | 29 | public function applyTaxes(OrderInterface $order, ZoneInterface $zone): void; |
| 29 | 30 | |
@@ -19,6 +19,7 @@ |
||
| 19 | 19 | { |
| 20 | 20 | /** |
| 21 | 21 | * @param ImageInterface $image |
| 22 | + * @return void |
|
| 22 | 23 | */ |
| 23 | 24 | public function upload(ImageInterface $image): void; |
| 24 | 25 | |
@@ -133,7 +133,7 @@ |
||
| 133 | 133 | } |
| 134 | 134 | |
| 135 | 135 | /** |
| 136 | - * @return iterable |
|
| 136 | + * @return \Generator |
|
| 137 | 137 | */ |
| 138 | 138 | private function getLocales(): iterable |
| 139 | 139 | { |
@@ -133,7 +133,7 @@ |
||
| 133 | 133 | } |
| 134 | 134 | |
| 135 | 135 | /** |
| 136 | - * @return iterable |
|
| 136 | + * @return \Generator |
|
| 137 | 137 | */ |
| 138 | 138 | private function getLocales(): iterable |
| 139 | 139 | { |
@@ -133,7 +133,7 @@ |
||
| 133 | 133 | } |
| 134 | 134 | |
| 135 | 135 | /** |
| 136 | - * @return iterable |
|
| 136 | + * @return \Generator |
|
| 137 | 137 | */ |
| 138 | 138 | private function getLocales(): iterable |
| 139 | 139 | { |