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 1313use Magento \Framework \Locale \Currency as LocaleCurrency ;
1414use Magento \Framework \Locale \ResolverInterface as LocalResolverInterface ;
1515use Magento \Framework \NumberFormatterFactory ;
16+ use Magento \Framework \ObjectManager \ResetAfterRequestInterface ;
1617use Magento \Framework \Serialize \Serializer \Json ;
1718
1819/**
2324 * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2425 * @since 100.0.2
2526 */
26- class Currency extends \Magento \Framework \Model \AbstractModel
27+ class Currency extends \Magento \Framework \Model \AbstractModel implements ResetAfterRequestInterface
2728{
2829 /**
2930 * CONFIG path constants
@@ -590,4 +591,12 @@ private function trimUnicodeDirectionMark($string)
590591 }
591592 return $ string ;
592593 }
594+
595+ /**
596+ * @inheritDoc
597+ */
598+ public function _resetState (): void
599+ {
600+ $ this ->_rates = null ;
601+ }
593602}
You can’t perform that action at this time.
0 commit comments