We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36268c6 commit 196f691Copy full SHA for 196f691
lib/internal/Magento/Framework/Module/Dir.php
@@ -45,7 +45,7 @@ public function getDir($moduleName, $type = '')
45
{
46
$path = $this->componentRegistrar->getPath(ComponentRegistrar::MODULE, $moduleName);
47
48
- // An empty $type means it's gettind the directory of the module itself.
+ // 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.");
0 commit comments