We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 196f691 commit 9c5975dCopy full SHA for 9c5975d
lib/internal/Magento/Framework/Module/Dir.php
@@ -48,7 +48,7 @@ public function getDir($moduleName, $type = '')
48
// An empty $type means it's getting the directory of the module itself.
49
if (empty($type) && !isset($path)) {
50
// Note: do not throw \LogicException, as it would break backwards-compatibility.
51
- throw new \InvalidArgumentException("Component '$moduleName' of type '$type' is not correctly registered.");
+ throw new \InvalidArgumentException("Module '$moduleName' is not correctly registered.");
52
}
53
54
if ($type) {
0 commit comments