File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 9
9
use Magento \Catalog \Model \Locator \LocatorInterface ;
10
10
use Magento \Ui \Component \Form ;
11
11
use Magento \Framework \Stdlib \ArrayManager ;
12
- use Magento \Framework \Locale \CurrencyInterface ;
13
12
14
13
/**
15
14
* Data provider for main panel of product page
16
- *
17
- * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
18
15
*/
19
16
class General extends AbstractModifier
20
17
{
@@ -29,7 +26,7 @@ class General extends AbstractModifier
29
26
protected $ arrayManager ;
30
27
31
28
/**
32
- * @var CurrencyInterface
29
+ * @var \Magento\Framework\Locale\ CurrencyInterface
33
30
*/
34
31
private $ localeCurrency ;
35
32
@@ -369,7 +366,8 @@ protected function customizeNameListeners(array $meta)
369
366
private function getLocaleCurrency ()
370
367
{
371
368
if ($ this ->localeCurrency === null ) {
372
- $ this ->localeCurrency = \Magento \Framework \App \ObjectManager::getInstance ()->get (CurrencyInterface::class);
369
+ $ this ->localeCurrency = \Magento \Framework \App \ObjectManager::getInstance ()
370
+ ->get (\Magento \Framework \Locale \CurrencyInterface::class);
373
371
}
374
372
return $ this ->localeCurrency ;
375
373
}
You can’t perform that action at this time.
0 commit comments