@@ -14,7 +14,6 @@ |
||
14 | 14 | namespace Sylius\Bundle\CoreBundle\Collector; |
15 | 15 | |
16 | 16 | use Sylius\Bundle\CoreBundle\Application\Kernel; |
17 | -use Sylius\Component\Channel\Context\ChannelNotFoundException; |
|
18 | 17 | use Sylius\Component\Core\Context\ShopperContextInterface; |
19 | 18 | use Sylius\Component\Core\Model\ChannelInterface; |
20 | 19 | use Sylius\Component\Currency\Context\CurrencyNotFoundException; |
@@ -13,8 +13,8 @@ |
||
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\ReviewBundle\Updater; |
15 | 15 | |
16 | -use Sylius\Component\Review\Model\ReviewableInterface; |
|
17 | 16 | use Sylius\Component\Review\Model\ReviewInterface; |
17 | +use Sylius\Component\Review\Model\ReviewableInterface; |
|
18 | 18 | |
19 | 19 | interface ReviewableRatingUpdaterInterface |
20 | 20 | { |
@@ -19,8 +19,8 @@ |
||
19 | 19 | use Sylius\Component\Resource\Model\VersionedInterface; |
20 | 20 | use Sylius\Component\Shipping\Model\ShippableInterface; |
21 | 21 | use Sylius\Component\Shipping\Model\ShippingCategoryInterface; |
22 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
23 | 22 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
23 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
24 | 24 | |
25 | 25 | interface ProductVariantInterface extends |
26 | 26 | BaseVariantInterface, |
@@ -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 | { |
@@ -17,8 +17,8 @@ |
||
17 | 17 | use Sylius\Component\Channel\Model\ChannelsAwareInterface; |
18 | 18 | use Sylius\Component\Product\Model\ProductInterface as BaseProductInterface; |
19 | 19 | use Sylius\Component\Resource\Model\TranslationInterface; |
20 | -use Sylius\Component\Review\Model\ReviewableInterface; |
|
21 | 20 | use Sylius\Component\Review\Model\ReviewInterface; |
21 | +use Sylius\Component\Review\Model\ReviewableInterface; |
|
22 | 22 | |
23 | 23 | interface ProductInterface extends |
24 | 24 | BaseProductInterface, |
@@ -17,8 +17,8 @@ |
||
17 | 17 | use PhpSpec\ObjectBehavior; |
18 | 18 | use Sylius\Bundle\ReviewBundle\Updater\ReviewableRatingUpdaterInterface; |
19 | 19 | use Sylius\Component\Review\Calculator\ReviewableRatingCalculatorInterface; |
20 | -use Sylius\Component\Review\Model\ReviewableInterface; |
|
21 | 20 | use Sylius\Component\Review\Model\ReviewInterface; |
21 | +use Sylius\Component\Review\Model\ReviewableInterface; |
|
22 | 22 | |
23 | 23 | final class AverageRatingUpdaterSpec extends ObjectBehavior |
24 | 24 | { |
@@ -26,8 +26,8 @@ |
||
26 | 26 | use Sylius\Component\Resource\Model\VersionedInterface; |
27 | 27 | use Sylius\Component\Shipping\Model\ShippableInterface; |
28 | 28 | use Sylius\Component\Shipping\Model\ShippingCategoryInterface; |
29 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
30 | 29 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
30 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
31 | 31 | |
32 | 32 | final class ProductVariantSpec extends ObjectBehavior |
33 | 33 | { |
@@ -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 | { |