X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FExtension%2FMapper.php;h=550091a84e615ed3d7aa6a79cd06d3a6fe380dbe;hb=5aeca8c68bc1c5bd88f22a5c76cf23a64f9dbc1e;hp=3e0c9dd14e4b7dc190becc1a83d8124a807aa9b9;hpb=b7412ea74b71e2c3c457639e301d57147655bd4e;p=civicrm-core.git diff --git a/CRM/Extension/Mapper.php b/CRM/Extension/Mapper.php index 3e0c9dd14e..550091a84e 100644 --- a/CRM/Extension/Mapper.php +++ b/CRM/Extension/Mapper.php @@ -441,7 +441,7 @@ class CRM_Extension_Mapper { } /** - * @return array + * @return CRM_Extension_Info[] * Ex: $result['org.civicrm.foobar'] = new CRM_Extension_Info(...). * @throws \CRM_Extension_Exception * @throws \Exception @@ -480,8 +480,7 @@ class CRM_Extension_Mapper { /** * Get a list of all installed modules, including enabled and disabled ones * - * @return array - * CRM_Core_Module + * @return CRM_Core_Module[] */ public function getModules() { $result = []; @@ -539,6 +538,7 @@ class CRM_Extension_Mapper { } // FIXME: How can code so code wrong be so right? CRM_Extension_System::singleton()->getClassLoader()->refresh(); + CRM_Extension_System::singleton()->getMixinLoader()->run(TRUE); } /** @@ -546,7 +546,7 @@ class CRM_Extension_Mapper { * @todo We should improve this to return more appropriate text. eg. when an extension is not installed * it should not say "version xx is installed". * - * @param array $remoteExtensionInfo + * @param CRM_Extension_Info $remoteExtensionInfo * @param array $localExtensionInfo * * @return string