Skip to content

Commit 3e07006

Browse files
committed
MAGETWO-55847: [GitHub] When tier price qty above 1000 adds a thousand separator in the Admin Panel #5745
- Remove suppress
1 parent 5b2d0bb commit 3e07006

File tree

1 file changed

+3
-5
lines changed
  • app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier

1 file changed

+3
-5
lines changed

app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/General.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,9 @@
99
use Magento\Catalog\Model\Locator\LocatorInterface;
1010
use Magento\Ui\Component\Form;
1111
use Magento\Framework\Stdlib\ArrayManager;
12-
use Magento\Framework\Locale\CurrencyInterface;
1312

1413
/**
1514
* Data provider for main panel of product page
16-
*
17-
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
1815
*/
1916
class General extends AbstractModifier
2017
{
@@ -29,7 +26,7 @@ class General extends AbstractModifier
2926
protected $arrayManager;
3027

3128
/**
32-
* @var CurrencyInterface
29+
* @var \Magento\Framework\Locale\CurrencyInterface
3330
*/
3431
private $localeCurrency;
3532

@@ -369,7 +366,8 @@ protected function customizeNameListeners(array $meta)
369366
private function getLocaleCurrency()
370367
{
371368
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);
373371
}
374372
return $this->localeCurrency;
375373
}

0 commit comments

Comments
 (0)