@@ -13,8 +13,8 @@ |
||
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Component\Taxation\Resolver; |
| 15 | 15 | |
| 16 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
| 17 | 16 | use Sylius\Component\Taxation\Model\TaxRateInterface; |
| 17 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
| 18 | 18 | |
| 19 | 19 | interface TaxRateResolverInterface |
| 20 | 20 | { |
@@ -16,6 +16,7 @@ discard block |
||
| 16 | 16 | use Doctrine\ORM\EntityManager; |
| 17 | 17 | use Doctrine\ORM\Mapping; |
| 18 | 18 | use Doctrine\ORM\QueryBuilder; |
| 19 | +use SyliusLabs\AssociationHydrator\AssociationHydrator; |
|
| 19 | 20 | use Sylius\Bundle\OrderBundle\Doctrine\ORM\OrderRepository as BaseOrderRepository; |
| 20 | 21 | use Sylius\Component\Core\Model\ChannelInterface; |
| 21 | 22 | use Sylius\Component\Core\Model\CustomerInterface; |
@@ -24,7 +25,6 @@ discard block |
||
| 24 | 25 | use Sylius\Component\Core\OrderCheckoutStates; |
| 25 | 26 | use Sylius\Component\Core\OrderPaymentStates; |
| 26 | 27 | use Sylius\Component\Core\Repository\OrderRepositoryInterface; |
| 27 | -use SyliusLabs\AssociationHydrator\AssociationHydrator; |
|
| 28 | 28 | |
| 29 | 29 | class OrderRepository extends BaseOrderRepository implements OrderRepositoryInterface |
| 30 | 30 | { |
@@ -16,12 +16,12 @@ |
||
| 16 | 16 | use Doctrine\ORM\EntityManager; |
| 17 | 17 | use Doctrine\ORM\Mapping; |
| 18 | 18 | use Doctrine\ORM\QueryBuilder; |
| 19 | +use SyliusLabs\AssociationHydrator\AssociationHydrator; |
|
| 19 | 20 | use Sylius\Bundle\ProductBundle\Doctrine\ORM\ProductRepository as BaseProductRepository; |
| 20 | 21 | use Sylius\Component\Core\Model\ChannelInterface; |
| 21 | 22 | use Sylius\Component\Core\Model\ProductInterface; |
| 22 | 23 | use Sylius\Component\Core\Model\TaxonInterface; |
| 23 | 24 | use Sylius\Component\Core\Repository\ProductRepositoryInterface; |
| 24 | -use SyliusLabs\AssociationHydrator\AssociationHydrator; |
|
| 25 | 25 | |
| 26 | 26 | class ProductRepository extends BaseProductRepository implements ProductRepositoryInterface |
| 27 | 27 | { |
@@ -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 | { |