Skip to content

Commit c48c364

Browse files
committed
Fix phpstan
1 parent 8eb9ccd commit c48c364

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Controller/SubscriptionController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
use Sylius\Component\Inventory\Checker\AvailabilityCheckerInterface;
1313
use Sylius\Component\Locale\Context\LocaleContextInterface;
1414
use Sylius\Component\Mailer\Sender\SenderInterface;
15-
use Sylius\Component\Resource\Factory\FactoryInterface;
15+
use Sylius\Resource\Factory\FactoryInterface;
1616
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
1717
use Symfony\Component\HttpFoundation\Request;
1818
use Symfony\Component\HttpFoundation\Response;

src/Repository/SubscriptionRepositoryInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace Webgriffe\SyliusBackInStockNotificationPlugin\Repository;
66

77
use Doctrine\ORM\QueryBuilder;
8-
use Sylius\Component\Resource\Repository\RepositoryInterface;
8+
use Sylius\Resource\Doctrine\Persistence\RepositoryInterface;
99
use Webgriffe\SyliusBackInStockNotificationPlugin\Entity\SubscriptionInterface;
1010

1111
/**

0 commit comments

Comments
 (0)