File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 44
55use Shopware \Core \Content \Product \Aggregate \ProductReview \ProductReviewCollection ;
66use Shopware \Core \Content \Product \Aggregate \ProductReview \ProductReviewEntity ;
7- use Shopware \Core \Content \Product \Cart \ProductGateway ;
7+ use Shopware \Core \Content \Product \Cart \ProductGatewayInterface ;
88use Shopware \Core \Content \Product \ProductCollection ;
99use Shopware \Core \Content \Product \SalesChannel \Listing \ProductListingResult ;
1010use Shopware \Core \Content \Product \SalesChannel \SalesChannelProductEntity ;
@@ -33,7 +33,7 @@ class CompareProductPageLoader
3333
3434 private GenericPageLoaderInterface $ genericLoader ;
3535
36- private ProductGateway $ productGateway ;
36+ private ProductGatewayInterface $ productGateway ;
3737
3838 private EventDispatcherInterface $ eventDispatcher ;
3939
@@ -42,7 +42,7 @@ class CompareProductPageLoader
4242 private SystemConfigService $ systemConfigService ;
4343
4444 public function __construct (
45- ProductGateway $ productGateway ,
45+ ProductGatewayInterface $ productGateway ,
4646 GenericPageLoaderInterface $ genericLoader ,
4747 EventDispatcherInterface $ eventDispatcher ,
4848 EntityRepositoryInterface $ productReviewRepository ,
Original file line number Diff line number Diff line change 44
55use Frosh \FroshProductCompare \CrossSellingComparable \CrossSellingComparableEntity ;
66use Frosh \FroshProductCompare \Page \CompareProductPageLoader ;
7- use Shopware \Core \Content \Product \Cart \ProductGateway ;
7+ use Shopware \Core \Content \Product \Cart \ProductGatewayInterface ;
88use Shopware \Core \Content \Product \Events \ProductCrossSellingCriteriaEvent ;
99use Shopware \Core \Content \Product \Events \ProductCrossSellingIdsCriteriaEvent ;
1010use Shopware \Core \Content \Product \Events \ProductCrossSellingsLoadedEvent ;
@@ -22,11 +22,11 @@ class FroshCrossSellingProductListingSubscriber implements EventSubscriberInterf
2222{
2323 private CompareProductPageLoader $ compareProductPageLoader ;
2424
25- private ProductGateway $ productGateway ;
25+ private ProductGatewayInterface $ productGateway ;
2626
2727 public function __construct (
2828 CompareProductPageLoader $ compareProductPageLoader ,
29- ProductGateway $ productGateway
29+ ProductGatewayInterface $ productGateway
3030 ) {
3131 $ this ->compareProductPageLoader = $ compareProductPageLoader ;
3232 $ this ->productGateway = $ productGateway ;
You can’t perform that action at this time.
0 commit comments