Skip to content

Commit

Permalink
Fix ec-cube 4.1 compatibility (#17)
Browse files Browse the repository at this point in the history
Signed-off-by: Ash Wu <hsatac@gmail.com>
  • Loading branch information
hSATAC committed May 5, 2023
1 parent aa73e8b commit 68832b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Plugin\Smartpay\Repository\ConfigRepository;
use Plugin\Smartpay\Repository\PaymentStatusRepository;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Doctrine\ORM\EntityManager;
use Doctrine\ORM\EntityManagerInterface;

class Event implements EventSubscriberInterface
{
Expand All @@ -16,7 +16,7 @@ class Event implements EventSubscriberInterface
private $config;
private $client;

public function __construct(EntityManager $entityManager, PaymentStatusRepository $paymentStatusRepository,ConfigRepository $configRepository)
public function __construct(EntityManagerInterface $entityManager, PaymentStatusRepository $paymentStatusRepository,ConfigRepository $configRepository)
{
$this->entityManager = $entityManager;
$this->paymentStatusRepository = $paymentStatusRepository;
Expand Down

0 comments on commit 68832b5

Please sign in to comment.