@@ -12,8 +12,8 @@ |
||
12 | 12 | namespace Sylius\Bundle\ResourceBundle\Doctrine\ODM\MongoDB; |
13 | 13 | |
14 | 14 | use Doctrine\MongoDB\Query\Builder as QueryBuilder; |
15 | -use Sylius\Component\Resource\Translation\Provider\TranslationLocaleProviderInterface; |
|
16 | 15 | use Sylius\Component\Resource\Repository\TranslatableRepositoryInterface; |
16 | +use Sylius\Component\Resource\Translation\Provider\TranslationLocaleProviderInterface; |
|
17 | 17 | |
18 | 18 | /** |
19 | 19 | * Doctrine ORM driver translatable entity repository. |
@@ -21,7 +21,6 @@ |
||
21 | 21 | use Sylius\Component\Resource\Metadata\RegistryInterface; |
22 | 22 | use Sylius\Component\Resource\Model\TranslatableInterface; |
23 | 23 | use Sylius\Component\Resource\Model\TranslationInterface; |
24 | -use Sylius\Component\Resource\Translation\Provider\TranslationLocaleProviderInterface; |
|
25 | 24 | use Sylius\Component\Resource\Translation\TranslatableEntityLocaleAssignerInterface; |
26 | 25 | use Symfony\Component\DependencyInjection\ContainerInterface; |
27 | 26 |
@@ -15,7 +15,6 @@ |
||
15 | 15 | use Sylius\Component\Core\Model\OrderInterface; |
16 | 16 | use Sylius\Component\Core\Model\OrderItemInterface; |
17 | 17 | use Sylius\Component\Core\Model\OrderItemUnitInterface; |
18 | -use Sylius\Component\Promotion\Action\PromotionActionCommandInterface; |
|
19 | 18 | use Sylius\Component\Promotion\Model\PromotionInterface; |
20 | 19 | use Sylius\Component\Promotion\Model\PromotionSubjectInterface; |
21 | 20 | use Sylius\Component\Resource\Exception\UnexpectedTypeException; |
@@ -24,7 +24,6 @@ |
||
24 | 24 | use Sylius\Component\Promotion\Action\PromotionActionInterface; |
25 | 25 | use Sylius\Component\Promotion\Model\PromotionInterface; |
26 | 26 | use Sylius\Component\Promotion\Model\PromotionSubjectInterface; |
27 | -use Sylius\Component\Resource\Exception\UnexpectedTypeException; |
|
28 | 27 | |
29 | 28 | /** |
30 | 29 | * @mixin PercentageDiscountAction |
@@ -23,7 +23,6 @@ |
||
23 | 23 | use Sylius\Component\Order\Modifier\OrderModifierInterface; |
24 | 24 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
25 | 25 | use Symfony\Component\Form\FormFactoryInterface; |
26 | -use Symfony\Component\HttpFoundation\JsonResponse; |
|
27 | 26 | use Symfony\Component\HttpFoundation\RedirectResponse; |
28 | 27 | use Symfony\Component\HttpFoundation\Request; |
29 | 28 | use Symfony\Component\HttpFoundation\Response; |
@@ -21,7 +21,6 @@ |
||
21 | 21 | use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface; |
22 | 22 | use Sylius\Component\Resource\Factory\FactoryInterface; |
23 | 23 | use Sylius\Component\Resource\Repository\RepositoryInterface; |
24 | -use Sylius\Component\Shipping\Calculator\CalculatorInterface; |
|
25 | 24 | use Sylius\Component\Shipping\Calculator\DefaultCalculators; |
26 | 25 | use Sylius\Component\Shipping\Model\ShippingCategoryInterface; |
27 | 26 | use Sylius\Component\Shipping\Model\ShippingMethodTranslationInterface; |
@@ -14,31 +14,31 @@ |
||
14 | 14 | use Behat\Behat\Context\Context; |
15 | 15 | use Doctrine\Common\Persistence\ObjectManager; |
16 | 16 | use SM\Factory\FactoryInterface as StateMachineFactoryInterface; |
17 | +use Sylius\Behat\Service\SharedStorageInterface; |
|
17 | 18 | use Sylius\Component\Core\Currency\CurrencyStorageInterface; |
19 | +use Sylius\Component\Core\Model\AddressInterface; |
|
18 | 20 | use Sylius\Component\Core\Model\ChannelInterface; |
19 | 21 | use Sylius\Component\Core\Model\ChannelPricingInterface; |
20 | -use Sylius\Component\Core\Model\PromotionCouponInterface; |
|
21 | -use Sylius\Component\Core\OrderCheckoutTransitions; |
|
22 | -use Sylius\Component\Order\Processor\OrderProcessorInterface; |
|
23 | -use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface; |
|
24 | -use Sylius\Component\Core\Model\AddressInterface; |
|
25 | 22 | use Sylius\Component\Core\Model\OrderInterface; |
26 | 23 | use Sylius\Component\Core\Model\OrderItemInterface; |
27 | 24 | use Sylius\Component\Core\Model\ProductInterface; |
28 | 25 | use Sylius\Component\Core\Model\ProductVariantInterface; |
26 | +use Sylius\Component\Core\Model\PromotionCouponInterface; |
|
29 | 27 | use Sylius\Component\Core\Model\ShippingMethodInterface; |
28 | +use Sylius\Component\Core\OrderCheckoutTransitions; |
|
30 | 29 | use Sylius\Component\Core\Repository\OrderRepositoryInterface; |
31 | -use Sylius\Behat\Service\SharedStorageInterface; |
|
30 | +use Sylius\Component\Customer\Model\CustomerInterface; |
|
31 | +use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface; |
|
32 | 32 | use Sylius\Component\Order\OrderTransitions; |
33 | +use Sylius\Component\Order\Processor\OrderProcessorInterface; |
|
33 | 34 | use Sylius\Component\Payment\Model\PaymentInterface; |
34 | 35 | use Sylius\Component\Payment\Model\PaymentMethodInterface; |
35 | 36 | use Sylius\Component\Payment\PaymentTransitions; |
37 | +use Sylius\Component\Product\Resolver\ProductVariantResolverInterface; |
|
36 | 38 | use Sylius\Component\Resource\Factory\FactoryInterface; |
37 | 39 | use Sylius\Component\Resource\Repository\RepositoryInterface; |
38 | 40 | use Sylius\Component\Shipping\ShipmentTransitions; |
39 | -use Sylius\Component\Customer\Model\CustomerInterface; |
|
40 | 41 | use Sylius\Component\User\Model\UserInterface; |
41 | -use Sylius\Component\Product\Resolver\ProductVariantResolverInterface; |
|
42 | 42 | |
43 | 43 | /** |
44 | 44 | * @author Łukasz Chruściel <[email protected]> |