Skip to content

Commit 3f58731

Browse files
author
Oleksii Korshenko
committed
MAGETWO-67405: Improved text of exception message in case of error in module's composer.json #9165
1 parent 85176e0 commit 3f58731

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/internal/Magento/Framework/Module/PackageInfo.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ public function __construct(Dir\Reader $reader, ComponentRegistrar $componentReg
7474
* Load the packages information
7575
*
7676
* @return void
77+
* @throws \Zend_Json_Exception
78+
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
7779
*/
7880
private function load()
7981
{
@@ -239,7 +241,7 @@ public function getRequiredBy($requiredModuleName)
239241
$requiredBy[] = $moduleName;
240242
}
241243
}
242-
244+
243245
return $requiredBy;
244246
}
245247

0 commit comments

Comments
 (0)