File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
app/code/Magento/Directory/Model Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 13
13
use Magento \Framework \Locale \Currency as LocaleCurrency ;
14
14
use Magento \Framework \Locale \ResolverInterface as LocalResolverInterface ;
15
15
use Magento \Framework \NumberFormatterFactory ;
16
+ use Magento \Framework \ObjectManager \ResetAfterRequestInterface ;
16
17
use Magento \Framework \Serialize \Serializer \Json ;
17
18
18
19
/**
23
24
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
24
25
* @since 100.0.2
25
26
*/
26
- class Currency extends \Magento \Framework \Model \AbstractModel
27
+ class Currency extends \Magento \Framework \Model \AbstractModel implements ResetAfterRequestInterface
27
28
{
28
29
/**
29
30
* CONFIG path constants
@@ -590,4 +591,12 @@ private function trimUnicodeDirectionMark($string)
590
591
}
591
592
return $ string ;
592
593
}
594
+
595
+ /**
596
+ * @inheritDoc
597
+ */
598
+ public function _resetState (): void
599
+ {
600
+ $ this ->_rates = null ;
601
+ }
593
602
}
You can’t perform that action at this time.
0 commit comments