Skip to content

Commit c664d65

Browse files
committed
MAGETWO-64519: [GitHub] [PR] Update DataProvider.php #8217
- fix static test coupling between objects
1 parent 735d084 commit c664d65

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/code/Magento/Translation/Model/Js/DataProvider.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@
66

77
namespace Magento\Translation\Model\Js;
88

9-
use Magento\Framework\LocalizedException;
9+
use Magento\Framework\Exception\LocalizedException;
1010

1111
/**
1212
* DataProvider for js translation
13+
*
14+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
1315
*/
1416
class DataProvider implements DataProviderInterface
1517
{
@@ -126,7 +128,7 @@ public function getData($themePath)
126128
*
127129
* @param string $content
128130
* @return string[]
129-
* @throws \Exception
131+
* @throws \Magento\Framework\Exception\LocalizedException
130132
*/
131133
protected function getPhrases($content)
132134
{

0 commit comments

Comments
 (0)