@@ -60,7 +60,7 @@ |
||
60 | 60 | * @param string $xref |
61 | 61 | * @param int $tree_id |
62 | 62 | * |
63 | - * @return null|string |
|
63 | + * @return string |
|
64 | 64 | */ |
65 | 65 | protected static function fetchGedcomRecord($xref, $tree_id) { |
66 | 66 | return Database::prepare( |
@@ -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()) { |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | /** |
79 | 79 | * How is this condition written in a census column. |
80 | 80 | * |
81 | - * @param $sex |
|
81 | + * @param string $sex |
|
82 | 82 | * |
83 | 83 | * @return string |
84 | 84 | */ |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | /** |
94 | 94 | * How is this condition written in a census column. |
95 | 95 | * |
96 | - * @param $sex |
|
96 | + * @param string $sex |
|
97 | 97 | * |
98 | 98 | * @return string |
99 | 99 | */ |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | /** |
109 | 109 | * How is this condition written in a census column. |
110 | 110 | * |
111 | - * @param $sex |
|
111 | + * @param string $sex |
|
112 | 112 | * |
113 | 113 | * @return string |
114 | 114 | */ |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | /** |
124 | 124 | * How is this condition written in a census column. |
125 | 125 | * |
126 | - * @param $sex |
|
126 | + * @param string $sex |
|
127 | 127 | * |
128 | 128 | * @return string |
129 | 129 | */ |
@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | /** |
139 | 139 | * How is this condition written in a census column. |
140 | 140 | * |
141 | - * @param $sex |
|
141 | + * @param string $sex |
|
142 | 142 | * |
143 | 143 | * @return string |
144 | 144 | */ |
@@ -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'); |