@@ -536,7 +536,7 @@ |
||
| 536 | 536 | |
| 537 | 537 | /** |
| 538 | 538 | * @param $objects |
| 539 | - * @param array $externalKeys |
|
| 539 | + * @param string[] $externalKeys |
|
| 540 | 540 | * @param string $format |
| 541 | 541 | * |
| 542 | 542 | * @return array |
@@ -107,7 +107,7 @@ |
||
| 107 | 107 | define('_EXTCAL_NAV_NEW_EVENT', 'new-event'); |
| 108 | 108 | |
| 109 | 109 | define('_EXTCAL_NAV_LIST', |
| 110 | - _EXTCAL_NAV_CALMONTH . "\n" . _EXTCAL_NAV_CALWEEK . "\n" . _EXTCAL_NAV_YEAR . "\n" . _EXTCAL_NAV_MONTH . "\n" . _EXTCAL_NAV_WEEK . "\n" . _EXTCAL_NAV_DAY . "\n" . _EXTCAL_NAV_AGENDA_WEEK . "\n" . _EXTCAL_NAV_AGENDA_DAY . "\n" . _EXTCAL_NAV_SEARCH . "\n" . _EXTCAL_NAV_NEW_EVENT); |
|
| 110 | + _EXTCAL_NAV_CALMONTH . "\n" . _EXTCAL_NAV_CALWEEK . "\n" . _EXTCAL_NAV_YEAR . "\n" . _EXTCAL_NAV_MONTH . "\n" . _EXTCAL_NAV_WEEK . "\n" . _EXTCAL_NAV_DAY . "\n" . _EXTCAL_NAV_AGENDA_WEEK . "\n" . _EXTCAL_NAV_AGENDA_DAY . "\n" . _EXTCAL_NAV_SEARCH . "\n" . _EXTCAL_NAV_NEW_EVENT); |
|
| 111 | 111 | |
| 112 | 112 | define('_EXTCAL_PREFIX_VIEW', 'view_'); |
| 113 | 113 | define('_EXTCAL_SUFFIX_VIEW', '.php'); |
@@ -455,11 +455,11 @@ |
||
| 455 | 455 | * @param array $event |
| 456 | 456 | * @param array $eventsArray |
| 457 | 457 | * @param Extcal\Time $timeHandler |
| 458 | - * @param $startMonth |
|
| 459 | - * @param $endMonth |
|
| 458 | + * @param integer $startMonth |
|
| 459 | + * @param integer $endMonth |
|
| 460 | 460 | * @param $cats |
| 461 | 461 | * |
| 462 | - * @return bool |
|
| 462 | + * @return false|null |
|
| 463 | 463 | */ |
| 464 | 464 | function bExtcalMinicalAddEventToArray($event, &$eventsArray, $timeHandler, $startMonth, $endMonth, $cats) |
| 465 | 465 | { |
@@ -166,7 +166,7 @@ |
||
| 166 | 166 | // Flag current day |
| 167 | 167 | $selectedDays = [ |
| 168 | 168 | new Calendar_Day(date('Y', xoops_getUserTimestamp(time(), $timeHandler->_getUserTimeZone($GLOBALS['xoopsUser']))), date('n', xoops_getUserTimestamp(time(), $timeHandler->_getUserTimeZone($GLOBALS['xoopsUser']))), |
| 169 | - date('j', xoops_getUserTimestamp(time(), $timeHandler->_getUserTimeZone($GLOBALS['xoopsUser'])))), |
|
| 169 | + date('j', xoops_getUserTimestamp(time(), $timeHandler->_getUserTimeZone($GLOBALS['xoopsUser'])))), |
|
| 170 | 170 | ]; |
| 171 | 171 | |
| 172 | 172 | // Build calendar object |
@@ -889,7 +889,7 @@ |
||
| 889 | 889 | |
| 890 | 890 | /** |
| 891 | 891 | * @param $criteria |
| 892 | - * @param $cats |
|
| 892 | + * @param integer $cats |
|
| 893 | 893 | */ |
| 894 | 894 | public function addCatSelectCriteria(&$criteria, $cats = null) |
| 895 | 895 | { |
@@ -24,8 +24,8 @@ |
||
| 24 | 24 | class FormFileCheckBox extends \XoopsFormCheckBox |
| 25 | 25 | { |
| 26 | 26 | /** |
| 27 | - * @param $caption |
|
| 28 | - * @param $name |
|
| 27 | + * @param string $caption |
|
| 28 | + * @param string $name |
|
| 29 | 29 | * @param null $value |
| 30 | 30 | * |
| 31 | 31 | */ |
@@ -149,11 +149,11 @@ |
||
| 149 | 149 | $cat_color = $catList->getVar('cat_color'); |
| 150 | 150 | $checked = in_array($cat_id, $cat) ? 'checked' : ''; |
| 151 | 151 | $cat = '' |
| 152 | - . "<div style='float:left; margin-left:5px;'>" |
|
| 153 | - . "<input type='checkbox' name='{$name}[{$cat_id}]' value='1' {$checked}>" |
|
| 154 | - . "<div style='absolute:left;height:12px; width:6px; background-color:#{$cat_color}; border:1px solid black; float:left; margin-right:5px;' ></div>" |
|
| 155 | - . " {$name}" |
|
| 156 | - . '</div>'; |
|
| 152 | + . "<div style='float:left; margin-left:5px;'>" |
|
| 153 | + . "<input type='checkbox' name='{$name}[{$cat_id}]' value='1' {$checked}>" |
|
| 154 | + . "<div style='absolute:left;height:12px; width:6px; background-color:#{$cat_color}; border:1px solid black; float:left; margin-right:5px;' ></div>" |
|
| 155 | + . " {$name}" |
|
| 156 | + . '</div>'; |
|
| 157 | 157 | |
| 158 | 158 | $t[] = $cat; |
| 159 | 159 | } |
@@ -151,11 +151,11 @@ |
||
| 151 | 151 | $cat_color = $catList->getVar('cat_color'); |
| 152 | 152 | $checked = in_array($cat_id, $cat) ? 'checked' : ''; |
| 153 | 153 | $cat = '' |
| 154 | - . "<div style='float:left; margin-left:5px;'>" |
|
| 155 | - . "<input type='checkbox' name='{$name}[{$cat_id}]' value='1' {$checked}>" |
|
| 156 | - . "<div style='absolute:left;height:12px; width:6px; background-color:#{$cat_color}; border:1px solid black; float:left; margin-right:5px;' ></div>" |
|
| 157 | - . " {$name}" |
|
| 158 | - . '</div>'; |
|
| 154 | + . "<div style='float:left; margin-left:5px;'>" |
|
| 155 | + . "<input type='checkbox' name='{$name}[{$cat_id}]' value='1' {$checked}>" |
|
| 156 | + . "<div style='absolute:left;height:12px; width:6px; background-color:#{$cat_color}; border:1px solid black; float:left; margin-right:5px;' ></div>" |
|
| 157 | + . " {$name}" |
|
| 158 | + . '</div>'; |
|
| 159 | 159 | |
| 160 | 160 | $t[] = $cat; |
| 161 | 161 | } |