Skip to content

Commit edfbfd2

Browse files
committed
Fix: bad logger interface
1 parent a6d71e8 commit edfbfd2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Controller/PaymentGatewayController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
use IDCI\Bundle\PaymentBundle\Event\TransactionEvent;
66
use IDCI\Bundle\PaymentBundle\Manager\PaymentManager;
77
use IDCI\Bundle\PaymentBundle\Payment\PaymentStatus;
8+
use Psr\Log\LoggerInterface;
89
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
910
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
1011
use Symfony\Component\HttpFoundation\JsonResponse;
@@ -21,7 +22,7 @@ class PaymentGatewayController extends AbstractController
2122
*/
2223
private $paymentManager;
2324

24-
public function __construct(PaymentManager $paymentManager, Logger $logger)
25+
public function __construct(PaymentManager $paymentManager, LoggerInterface $logger)
2526
{
2627
$this->paymentManager = $paymentManager;
2728
$this->logger = $logger;

0 commit comments

Comments
 (0)