@@ -14,8 +14,8 @@ |
||
14 | 14 | namespace Sylius\Component\Taxation\Resolver; |
15 | 15 | |
16 | 16 | use Sylius\Component\Resource\Repository\RepositoryInterface; |
17 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
18 | 17 | use Sylius\Component\Taxation\Model\TaxRateInterface; |
18 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
19 | 19 | |
20 | 20 | class TaxRateResolver implements TaxRateResolverInterface |
21 | 21 | { |
@@ -18,15 +18,15 @@ |
||
18 | 18 | use Sylius\Behat\NotificationType; |
19 | 19 | use Sylius\Behat\Page\Admin\Crud\CreatePageInterface; |
20 | 20 | use Sylius\Behat\Page\Admin\Crud\UpdatePageInterface; |
21 | +use Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface; |
|
22 | +use Sylius\Behat\Page\Admin\ProductVariant\CreatePageInterface as VariantCreatePageInterface; |
|
23 | +use Sylius\Behat\Page\Admin\ProductVariant\GeneratePageInterface; |
|
21 | 24 | use Sylius\Behat\Page\Admin\Product\CreateConfigurableProductPageInterface; |
22 | 25 | use Sylius\Behat\Page\Admin\Product\CreateSimpleProductPageInterface; |
23 | 26 | use Sylius\Behat\Page\Admin\Product\IndexPageInterface; |
24 | 27 | use Sylius\Behat\Page\Admin\Product\IndexPerTaxonPageInterface; |
25 | 28 | use Sylius\Behat\Page\Admin\Product\UpdateConfigurableProductPageInterface; |
26 | 29 | use Sylius\Behat\Page\Admin\Product\UpdateSimpleProductPageInterface; |
27 | -use Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface; |
|
28 | -use Sylius\Behat\Page\Admin\ProductVariant\CreatePageInterface as VariantCreatePageInterface; |
|
29 | -use Sylius\Behat\Page\Admin\ProductVariant\GeneratePageInterface; |
|
30 | 30 | use Sylius\Behat\Service\NotificationCheckerInterface; |
31 | 31 | use Sylius\Behat\Service\Resolver\CurrentPageResolverInterface; |
32 | 32 | use Sylius\Behat\Service\SharedStorageInterface; |
@@ -28,7 +28,6 @@ |
||
28 | 28 | use Sylius\Component\Core\Model\ShippingMethodInterface; |
29 | 29 | use Sylius\Component\Core\Model\ShopUserInterface; |
30 | 30 | use Sylius\Component\Core\OrderCheckoutTransitions; |
31 | -use Sylius\Component\Core\OrderPaymentStates; |
|
32 | 31 | use Sylius\Component\Core\OrderPaymentTransitions; |
33 | 32 | use Sylius\Component\Core\OrderShippingTransitions; |
34 | 33 | use Sylius\Component\Core\Repository\OrderRepositoryInterface; |
@@ -13,21 +13,18 @@ |
||
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\CoreBundle\Doctrine\ORM; |
15 | 15 | |
16 | -use Doctrine\ORM\AbstractQuery; |
|
17 | 16 | use Doctrine\ORM\EntityManager; |
18 | 17 | use Doctrine\ORM\Mapping; |
19 | -use Doctrine\ORM\Query\ResultSetMapping; |
|
20 | 18 | use Doctrine\ORM\QueryBuilder; |
19 | +use SyliusLabs\AssociationHydrator\AssociationHydrator; |
|
21 | 20 | use Sylius\Bundle\OrderBundle\Doctrine\ORM\OrderRepository as BaseOrderRepository; |
22 | 21 | use Sylius\Component\Core\Model\ChannelInterface; |
23 | 22 | use Sylius\Component\Core\Model\CustomerInterface; |
24 | -use Sylius\Component\Core\Model\Order; |
|
25 | 23 | use Sylius\Component\Core\Model\OrderInterface; |
26 | 24 | use Sylius\Component\Core\Model\PromotionCouponInterface; |
27 | 25 | use Sylius\Component\Core\OrderCheckoutStates; |
28 | 26 | use Sylius\Component\Core\OrderPaymentStates; |
29 | 27 | use Sylius\Component\Core\Repository\OrderRepositoryInterface; |
30 | -use SyliusLabs\AssociationHydrator\AssociationHydrator; |
|
31 | 28 | |
32 | 29 | class OrderRepository extends BaseOrderRepository implements OrderRepositoryInterface |
33 | 30 | { |