Skip to content

Commit

Permalink
fix #issues/77
Browse files Browse the repository at this point in the history
the function get autoloader was moved from module class to to module helper class so it must be called in '$this' inside the midulehelper class
  • Loading branch information
keywan-ghadami-oxid authored Jan 17, 2019
1 parent bdf51bf commit 60b333f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Core/ModuleHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function getModuleNameSpace()


$moduleNameSpace = '';
$composerClassLoader = $module->getAutoloader();
$composerClassLoader = $this->getAutoloader();
$nameSpacePrefixes = $composerClassLoader->getPrefixesPsr4();
foreach ($nameSpacePrefixes as $nameSpacePrefix => $paths) {
foreach ($paths as $path) {
Expand Down Expand Up @@ -90,4 +90,4 @@ public function getAutoloader(){
return $composerClassLoader;
}

}
}

0 comments on commit 60b333f

Please sign in to comment.