Skip to content

Commit b72c45d

Browse files
committed
MAGETWO-37571: [TechDebt] Covered php code after new checkout implementation by unit tests
1 parent b12f812 commit b72c45d

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

app/code/Magento/Payment/Model/IframeConfigProvider.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@ abstract class IframeConfigProvider implements ConfigProviderInterface
3535
*/
3636
protected $logger;
3737

38-
/**
39-
* @var PaymentHelper
40-
*/
41-
protected $paymentHelper;
42-
4338
/**
4439
* Payment method code
4540
*
@@ -70,8 +65,7 @@ public function __construct(
7065
$this->request = $request;
7166
$this->urlBuilder = $urlBuilder;
7267
$this->logger = $logger;
73-
$this->paymentHelper = $paymentHelper;
74-
$this->method = $this->paymentHelper->getMethodInstance($this->methodCode);
68+
$this->method = $paymentHelper->getMethodInstance($this->methodCode);
7569
}
7670

7771
/**

0 commit comments

Comments
 (0)