@@ -74,8 +74,11 @@ |
||
| 74 | 74 | <td class="col-xs-2"> |
| 75 | 75 | <?php if ($module instanceof ModuleConfigInterface): ?> |
| 76 | 76 | <a href="<?php echo $module->getConfigLink(); ?>"><?php echo $module->getTitle(); ?> <i class="fa fa-cogs"></i></a> |
| 77 | - <?php else: ?> |
|
| 78 | - <?php echo $module->getTitle(); ?> |
|
| 77 | + <?php else { |
|
| 78 | + : ?> |
|
| 79 | + <?php echo $module->getTitle(); |
|
| 80 | +} |
|
| 81 | +?> |
|
| 79 | 82 | <?php endif; ?> |
| 80 | 83 | </td> |
| 81 | 84 | <td class="col-xs-5"><?php echo $module->getDescription(); ?></td> |
@@ -98,8 +98,11 @@ |
||
| 98 | 98 | <td class="col-xs-1"> |
| 99 | 99 | <?php if ($module instanceof ModuleConfigInterface): ?> |
| 100 | 100 | <a href="<?php echo $module->getConfigLink(); ?>"><?php echo $module->getTitle(); ?> <i class="fa fa-cogs"></i></a> |
| 101 | - <?php else: ?> |
|
| 102 | - <?php echo $module->getTitle(); ?> |
|
| 101 | + <?php else { |
|
| 102 | + : ?> |
|
| 103 | + <?php echo $module->getTitle(); |
|
| 104 | +} |
|
| 105 | +?> |
|
| 103 | 106 | <?php endif; ?> |
| 104 | 107 | </td> |
| 105 | 108 | <td class="col-xs-5"><?php echo $module->getDescription(); ?></td> |
@@ -98,8 +98,11 @@ |
||
| 98 | 98 | <td class="col-xs-1"> |
| 99 | 99 | <?php if ($module instanceof ModuleConfigInterface): ?> |
| 100 | 100 | <a href="<?php echo $module->getConfigLink(); ?>"><?php echo $module->getTitle(); ?> <i class="fa fa-cogs"></i></a> |
| 101 | - <?php else: ?> |
|
| 102 | - <?php echo $module->getTitle(); ?> |
|
| 101 | + <?php else { |
|
| 102 | + : ?> |
|
| 103 | + <?php echo $module->getTitle(); |
|
| 104 | +} |
|
| 105 | +?> |
|
| 103 | 106 | <?php endif; ?> |
| 104 | 107 | </td> |
| 105 | 108 | <td class="col-xs-5"><?php echo $module->getDescription(); ?></td> |
@@ -247,7 +247,7 @@ |
||
| 247 | 247 | /** |
| 248 | 248 | * Which months follows this one? Calendars with leap-months should provide their own implementation. |
| 249 | 249 | * |
| 250 | - * @return int[] |
|
| 250 | + * @return integer[] |
|
| 251 | 251 | */ |
| 252 | 252 | protected function nextMonth() { |
| 253 | 253 | if ($this->m == 6 && !$this->isLeapYear()) { |
@@ -247,7 +247,7 @@ |
||
| 247 | 247 | /** |
| 248 | 248 | * Which months follows this one? Calendars with leap-months should provide their own implementation. |
| 249 | 249 | * |
| 250 | - * @return int[] |
|
| 250 | + * @return integer[] |
|
| 251 | 251 | */ |
| 252 | 252 | protected function nextMonth() { |
| 253 | 253 | if ($this->m == 6 && !$this->isLeapYear()) { |
@@ -74,8 +74,11 @@ |
||
| 74 | 74 | <td class="col-xs-2"> |
| 75 | 75 | <?php if ($module instanceof ModuleConfigInterface): ?> |
| 76 | 76 | <a href="<?php echo $module->getConfigLink(); ?>"><?php echo $module->getTitle(); ?> <i class="fa fa-cogs"></i></a> |
| 77 | - <?php else: ?> |
|
| 78 | - <?php echo $module->getTitle(); ?> |
|
| 77 | + <?php else { |
|
| 78 | + : ?> |
|
| 79 | + <?php echo $module->getTitle(); |
|
| 80 | +} |
|
| 81 | +?> |
|
| 79 | 82 | <?php endif; ?> |
| 80 | 83 | </td> |
| 81 | 84 | <td class="col-xs-5"><?php echo $module->getDescription(); ?></td> |
@@ -500,7 +500,7 @@ |
||
| 500 | 500 | /** |
| 501 | 501 | * A menu, to be added to the main application menu. |
| 502 | 502 | * |
| 503 | - * @return Menu|null |
|
| 503 | + * @return Menu |
|
| 504 | 504 | */ |
| 505 | 505 | public function getMenu() { |
| 506 | 506 | $menu = new Menu($this->getTitle(), 'module.php?mod=' . $this->getName() . '&mod_action=show_list', 'menu-story'); |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | /** |
| 57 | 57 | * Return a menu item for this chart. |
| 58 | 58 | * |
| 59 | - * @return Menu|null |
|
| 59 | + * @return Menu |
|
| 60 | 60 | */ |
| 61 | 61 | public function getChartMenu(Individual $individual) { |
| 62 | 62 | $tree = $individual->getTree(); |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | /** |
| 83 | 83 | * Return a menu item for this chart - for use in individual boxes. |
| 84 | 84 | * |
| 85 | - * @return Menu|null |
|
| 85 | + * @return Menu |
|
| 86 | 86 | */ |
| 87 | 87 | public function getBoxChartMenu(Individual $individual) { |
| 88 | 88 | return $this->getChartMenu($individual); |
@@ -500,7 +500,7 @@ |
||
| 500 | 500 | /** |
| 501 | 501 | * A menu, to be added to the main application menu. |
| 502 | 502 | * |
| 503 | - * @return Menu|null |
|
| 503 | + * @return Menu |
|
| 504 | 504 | */ |
| 505 | 505 | public function getMenu() { |
| 506 | 506 | $menu = new Menu($this->getTitle(), 'module.php?mod=' . $this->getName() . '&mod_action=show_list', 'menu-story'); |