From 75007317c5992e144defd50d83088fe32a11e411 Mon Sep 17 00:00:00 2001 From: Peter van Westen Date: Thu, 5 Mar 2015 22:42:13 +0100 Subject: [PATCH] Fixed comments --- libraries/cms/module/helper.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libraries/cms/module/helper.php b/libraries/cms/module/helper.php index e27d5a0dec14a..bf6740239280f 100644 --- a/libraries/cms/module/helper.php +++ b/libraries/cms/module/helper.php @@ -231,8 +231,7 @@ public static function renderModule($module, $attribs = array()) $attribs['style'] .= ' outline'; } - // onRenderModule is allowed to alter the $module and $attribs - // If the module is nulled it will return an empty content, otherwise it will render the module normally. + // If the $module is nulled it will return an empty content, otherwise it will render the module normally. $app->triggerEvent('onRenderModule', array(&$module, &$attribs)); if (is_null($module) || !isset($module->content)) @@ -421,6 +420,8 @@ public static function getModuleList() /** * Clean the module list * + * @param array $modules Array with module objects + * * @return array */ public static function cleanModuleList($modules)