@@ -31,7 +31,7 @@ |
||
31 | 31 | /** |
32 | 32 | * The columns of the census. |
33 | 33 | * |
34 | - * @return CensusColumnInterface[] |
|
34 | + * @return CensusColumnNull[] |
|
35 | 35 | */ |
36 | 36 | public function columns() { |
37 | 37 | return array( |
@@ -214,7 +214,7 @@ |
||
214 | 214 | * |
215 | 215 | * The native quote() function does not convert PHP nulls to DB nulls |
216 | 216 | * |
217 | - * @param $string |
|
217 | + * @param string $string |
|
218 | 218 | * |
219 | 219 | * @return string |
220 | 220 | * |
@@ -87,7 +87,7 @@ |
||
87 | 87 | /** |
88 | 88 | * Get the record to which this fact links |
89 | 89 | * |
90 | - * @return Individual|Family|Source|Repository|Media|Note|null |
|
90 | + * @return GedcomRecord|null |
|
91 | 91 | */ |
92 | 92 | public function getTarget() { |
93 | 93 | $xref = trim($this->getValue(), '@'); |
@@ -248,7 +248,7 @@ discard block |
||
248 | 248 | * @param string $xref |
249 | 249 | * @param int $tree_id |
250 | 250 | * |
251 | - * @return null|string |
|
251 | + * @return string |
|
252 | 252 | */ |
253 | 253 | protected static function fetchGedcomRecord($xref, $tree_id) { |
254 | 254 | return Database::prepare( |
@@ -388,7 +388,7 @@ discard block |
||
388 | 388 | * (b) Level 1 object with the Highlight option missing or set to other than "Y" or "N" |
389 | 389 | * (c) Level 2 or higher object with the Highlight option set to "Y" |
390 | 390 | * |
391 | - * @return null|Media |
|
391 | + * @return GedcomRecord|null |
|
392 | 392 | */ |
393 | 393 | public function findHighlightedMedia() { |
394 | 394 | $objectA = null; |
@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | * |
153 | 153 | * @param Tree $tree |
154 | 154 | * |
155 | - * @return ModuleBlockInterface[] |
|
155 | + * @return AbstractModule[] |
|
156 | 156 | */ |
157 | 157 | public static function getActiveBlocks(Tree $tree) { |
158 | 158 | return self::getActiveModulesByComponent($tree, 'block'); |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | * |
164 | 164 | * @param Tree $tree |
165 | 165 | * |
166 | - * @return ModuleChartInterface[] |
|
166 | + * @return AbstractModule[] |
|
167 | 167 | */ |
168 | 168 | public static function getActiveCharts(Tree $tree) { |
169 | 169 | return self::getActiveModulesByComponent($tree, 'chart'); |
@@ -174,7 +174,7 @@ discard block |
||
174 | 174 | * |
175 | 175 | * @param Tree $tree |
176 | 176 | * |
177 | - * @return ModuleMenuInterface[] |
|
177 | + * @return AbstractModule[] |
|
178 | 178 | */ |
179 | 179 | public static function getActiveMenus(Tree $tree) { |
180 | 180 | return self::getActiveModulesByComponent($tree, 'menu'); |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | * |
186 | 186 | * @param Tree $tree |
187 | 187 | * |
188 | - * @return ModuleReportInterface[] |
|
188 | + * @return AbstractModule[] |
|
189 | 189 | */ |
190 | 190 | public static function getActiveReports(Tree $tree) { |
191 | 191 | return self::getActiveModulesByComponent($tree, 'report'); |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | * |
197 | 197 | * @param Tree $tree |
198 | 198 | * |
199 | - * @return ModuleSidebarInterface[] |
|
199 | + * @return AbstractModule[] |
|
200 | 200 | */ |
201 | 201 | public static function getActiveSidebars(Tree $tree) { |
202 | 202 | return self::getActiveModulesByComponent($tree, 'sidebar'); |
@@ -207,7 +207,7 @@ discard block |
||
207 | 207 | * |
208 | 208 | * @param Tree $tree |
209 | 209 | * |
210 | - * @return ModuleTabInterface[] |
|
210 | + * @return AbstractModule[] |
|
211 | 211 | */ |
212 | 212 | public static function getActiveTabs(Tree $tree) { |
213 | 213 | return self::getActiveModulesByComponent($tree, 'tab'); |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | * |
219 | 219 | * @param Tree $tree |
220 | 220 | * |
221 | - * @return ModuleThemeInterface[] |
|
221 | + * @return AbstractModule[] |
|
222 | 222 | */ |
223 | 223 | public static function getActiveThemes(Tree $tree) { |
224 | 224 | return self::getActiveModulesByComponent($tree, 'theme'); |
@@ -268,7 +268,7 @@ discard block |
||
268 | 268 | * |
269 | 269 | * @param string $xref |
270 | 270 | * |
271 | - * @return string|null |
|
271 | + * @return integer|null |
|
272 | 272 | */ |
273 | 273 | private function findNextXref($xref) { |
274 | 274 | foreach (array_keys($this->all_xrefs) as $key) { |
@@ -288,7 +288,7 @@ discard block |
||
288 | 288 | * |
289 | 289 | * @param string $xref |
290 | 290 | * |
291 | - * @return string|null |
|
291 | + * @return integer|null |
|
292 | 292 | */ |
293 | 293 | private function findPrevXref($xref) { |
294 | 294 | foreach (array_reverse(array_keys($this->all_xrefs)) as $key) { |
@@ -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'); |
@@ -463,7 +463,7 @@ |
||
463 | 463 | * |
464 | 464 | * @param string $s Style name |
465 | 465 | * |
466 | - * @return array |
|
466 | + * @return string |
|
467 | 467 | */ |
468 | 468 | public function getStyle($s) { |
469 | 469 | if (!isset($this->Styles[$s])) { |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | * @param int $stretch Stretch carachter mode |
128 | 128 | * @param string $bocolor Border color |
129 | 129 | * @param string $tcolor Text color |
130 | - * @param $reseth |
|
130 | + * @param boolean $reseth |
|
131 | 131 | */ |
132 | 132 | public function __construct( |
133 | 133 | $width, $height, $border, $align, $bgcolor, $style, $ln, $top, $left, $fill, $stretch, $bocolor, $tcolor, $reseth |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | * |
158 | 158 | * @param $renderer |
159 | 159 | * |
160 | - * @return float |
|
160 | + * @return integer |
|
161 | 161 | */ |
162 | 162 | public function getHeight($renderer) { |
163 | 163 | return $this->height; |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | * |
182 | 182 | * @param $renderer |
183 | 183 | * |
184 | - * @return float |
|
184 | + * @return integer |
|
185 | 185 | */ |
186 | 186 | public function getWidth($renderer) { |
187 | 187 | return $this->width; |