Index: branches/5.2.x/core/units/helpers/sections_helper.php =================================================================== diff -u -N -r15226 -r16513 --- branches/5.2.x/core/units/helpers/sections_helper.php (.../sections_helper.php) (revision 15226) +++ branches/5.2.x/core/units/helpers/sections_helper.php (.../sections_helper.php) (revision 16513) @@ -1,6 +1,6 @@ Application->UnitConfigReader->configData[$prefix]; + + /** @var Array $section_adjustments */ $section_adjustments = getArrayValue($config, 'SectionAdjustments'); - /* @var $section_adjustments Array */ if ( !$section_adjustments ) { continue; @@ -212,8 +213,9 @@ function _processPrefixSections($prefix) { $config =& $this->Application->UnitConfigReader->configData[$prefix]; + + /** @var Array $sections */ $sections = getArrayValue($config, 'Sections'); - /* @var $sections Array */ if ( !$sections ) { return ; @@ -300,8 +302,9 @@ public function getFirstChild($section_name, $check_permission = false) { $section_data =& $this->getSectionData($section_name); + + /** @var Array $children */ $children = isset($section_data['children']) && $section_data['children'] ? $section_data['children'] : false; - /* @var $children Array */ if ( $children ) { // get 1st child