Skip to content

Commit 3ee407a

Browse files
committed
Resolve undefined constant KEY_EXCHANGE_RATE in ExchangeRateInterface
1 parent e56640c commit 3ee407a

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+
const KEY_EXCHANGE_RATES = 'exchange_rates';
2024

2125
/**
2226
* @inheritDoc

0 commit comments

Comments
 (0)