Skip to content

Commit 9aea8d8

Browse files
committed
[ECP-9569] Update dependencies of Data.php class
1 parent 3198491 commit 9aea8d8

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

Helper/Data.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
use Magento\Framework\App\Config\ScopeConfigInterface;
3030
use Magento\Framework\App\Helper\AbstractHelper;
3131
use Magento\Framework\App\Helper\Context;
32-
use Magento\Framework\App\RequestInterface;
3332
use Magento\Framework\Config\DataInterface;
3433
use Magento\Framework\Encryption\EncryptorInterface;
3534
use Magento\Framework\Exception\LocalizedException;
@@ -48,7 +47,6 @@
4847
*/
4948
class Data extends AbstractHelper
5049
{
51-
5250
const APPLICATION_NAME = 'Magento 2 plugin';
5351
const TEST = 'test';
5452
const LIVE = 'live';
@@ -73,7 +71,6 @@ class Data extends AbstractHelper
7371
* @param ScopeConfigInterface $config
7472
* @param ConfigHelper $configHelper
7573
* @param PlatformInfo $platformInfo
76-
* @param RequestInterface $request
7774
*/
7875
public function __construct(
7976
protected readonly Context $context,
@@ -91,8 +88,7 @@ public function __construct(
9188
protected readonly CacheInterface $cache,
9289
private readonly ScopeConfigInterface $config,
9390
private readonly ConfigHelper $configHelper,
94-
private readonly PlatformInfo $platformInfo,
95-
protected $request,
91+
private readonly PlatformInfo $platformInfo
9692
) {
9793
parent::__construct($context);
9894
}

etc/di.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1477,7 +1477,6 @@
14771477
<type name="Adyen\Payment\Helper\Data">
14781478
<arguments>
14791479
<argument name="dataStorage" xsi:type="object">adyenPaymentConfigDataStorage</argument>
1480-
<argument name="serializer" xsi:type="object">Magento\Framework\Serialize\Serializer\Serialize</argument>
14811480
</arguments>
14821481
</type>
14831482
<type name="Adyen\Payment\Model\Config\Backend\Installments">

0 commit comments

Comments
 (0)