Skip to content

Commit 47e53aa

Browse files
authored
ENGCOM-5697: Resolve error when call getExchangeRates() and setExchangeRates(...) in Magento\Directory\Api\Data\ExchangeRateInterface #24272
2 parents 7241e26 + 9b74c63 commit 47e53aa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/code/Magento/Directory/Model/Data/ExchangeRate.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
* Copyright © Magento, Inc. All rights reserved.
66
* See COPYING.txt for license details.
77
*/
8+
9+
declare(strict_types=1);
10+
811
namespace Magento\Directory\Model\Data;
912

1013
/**
@@ -17,6 +20,7 @@ class ExchangeRate extends \Magento\Framework\Api\AbstractExtensibleObject imple
1720
{
1821
const KEY_CURRENCY_TO = 'currency_to';
1922
const KEY_RATE = 'rate';
23+
private const KEY_EXCHANGE_RATES = 'exchange_rates';
2024

2125
/**
2226
* @inheritDoc

0 commit comments

Comments
 (0)