@@ -19,6 +19,7 @@ discard block |
||
19 | 19 | * Insert some content before the fact source text. |
20 | 20 | * |
21 | 21 | * @param string $srec Source fact record |
22 | + * @return string |
|
22 | 23 | */ |
23 | 24 | public function hFactSourcePrepend($srec); |
24 | 25 | |
@@ -26,6 +27,7 @@ discard block |
||
26 | 27 | * Insert some content after the fact source text. |
27 | 28 | * |
28 | 29 | * @param string $srec Source fact record |
30 | + * @return void |
|
29 | 31 | */ |
30 | 32 | public function hFactSourceAppend($srec); |
31 | 33 |
@@ -19,6 +19,7 @@ discard block |
||
19 | 19 | * Insert some content before the fact source text. |
20 | 20 | * |
21 | 21 | * @param string $srec Source fact record |
22 | + * @return string |
|
22 | 23 | */ |
23 | 24 | public function hFactSourcePrepend($srec); |
24 | 25 | |
@@ -26,6 +27,7 @@ discard block |
||
26 | 27 | * Insert some content after the fact source text. |
27 | 28 | * |
28 | 29 | * @param string $srec Source fact record |
30 | + * @return void |
|
29 | 31 | */ |
30 | 32 | public function hFactSourceAppend($srec); |
31 | 33 |
@@ -21,6 +21,7 @@ discard block |
||
21 | 21 | * Insert some content before the record name text. |
22 | 22 | * |
23 | 23 | * @param GedcomRecord $grec Gedcom record |
24 | + * @return void |
|
24 | 25 | */ |
25 | 26 | public function hRecordNamePrepend(GedcomRecord $grec); |
26 | 27 | |
@@ -28,6 +29,7 @@ discard block |
||
28 | 29 | * Insert some content after the record name text. |
29 | 30 | * |
30 | 31 | * @param GedcomRecord $grec Gedcom record |
32 | + * @return string |
|
31 | 33 | */ |
32 | 34 | public function hRecordNameAppend(GedcomRecord $grec); |
33 | 35 |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | * |
115 | 115 | * @param string $value Value name |
116 | 116 | * @param AbstractModule $mod Calling module |
117 | - * @return bool True is cached |
|
117 | + * @return boolean|null True is cached |
|
118 | 118 | */ |
119 | 119 | public static function isCached($value, AbstractModule $mod = null) { |
120 | 120 | self::getInstance()->isCachedI($value, $mod); |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | * @param string $value Value name |
150 | 150 | * @param mixed $data Value |
151 | 151 | * @param AbstractModule $mod Calling module |
152 | - * @return mixed Cached value |
|
152 | + * @return unknown_type|null Cached value |
|
153 | 153 | */ |
154 | 154 | public function saveI($value, $data, AbstractModule $mod = null){ |
155 | 155 | $this->checkInit(); |
@@ -89,7 +89,7 @@ |
||
89 | 89 | /** |
90 | 90 | * Returns the number of geographical analysis (active and inactive). |
91 | 91 | * |
92 | - * @return int |
|
92 | + * @return string|null |
|
93 | 93 | */ |
94 | 94 | public function getGeoAnalysisCount() { |
95 | 95 | return Database::prepare( |
@@ -219,7 +219,7 @@ |
||
219 | 219 | |
220 | 220 | /** |
221 | 221 | * Convert an array to Google Chart encoding |
222 | - * @param arrat $a Array to encode |
|
222 | + * @param integer[] $a Array to encode |
|
223 | 223 | * @return string |
224 | 224 | */ |
225 | 225 | private function arrayToExtendedEncoding($a) { |
@@ -277,7 +277,7 @@ discard block |
||
277 | 277 | /** |
278 | 278 | * Get an associative array of Sosa individuals in generation G. Keys are Sosa numbers, values individuals. |
279 | 279 | * |
280 | - * @param number $gen Generation |
|
280 | + * @param integer $gen Generation |
|
281 | 281 | * @return array Array of Sosa individuals |
282 | 282 | */ |
283 | 283 | public function getSosaListAtGeneration($gen){ |
@@ -308,7 +308,7 @@ discard block |
||
308 | 308 | /** |
309 | 309 | * Get an associative array of Sosa families in generation G. Keys are Sosa numbers for the husband, values families. |
310 | 310 | * |
311 | - * @param number $gen Generation |
|
311 | + * @param integer $gen Generation |
|
312 | 312 | * @return array Array of Sosa families |
313 | 313 | */ |
314 | 314 | public function getFamilySosaListAtGeneration($gen){ |
@@ -344,7 +344,7 @@ discard block |
||
344 | 344 | /** |
345 | 345 | * Get an associative array of Sosa individuals in generation G who are missing parents. Keys are Sosa numbers, values individuals. |
346 | 346 | * |
347 | - * @param number $gen Generation |
|
347 | + * @param integer $gen Generation |
|
348 | 348 | * @return array Array of Sosa individuals |
349 | 349 | */ |
350 | 350 | public function getMissingSosaListAtGeneration($gen){ |
@@ -439,8 +439,8 @@ discard block |
||
439 | 439 | /** |
440 | 440 | * Get the number of Sosa in a specific generation. |
441 | 441 | * |
442 | - * @param number $gen Generation |
|
443 | - * @return number Number of Sosas in generation |
|
442 | + * @param integer $gen Generation |
|
443 | + * @return integer Number of Sosas in generation |
|
444 | 444 | */ |
445 | 445 | public function getSosaCountAtGeneration($gen){ |
446 | 446 | if(!$this->is_setup) return 0; |
@@ -458,7 +458,7 @@ discard block |
||
458 | 458 | /** |
459 | 459 | * Get the total number of Sosa up to a specific generation. |
460 | 460 | * |
461 | - * @param number $gen Generation |
|
461 | + * @param integer $gen Generation |
|
462 | 462 | * @return number Total number of Sosas up to generation |
463 | 463 | */ |
464 | 464 | public function getSosaCountUpToGeneration($gen){ |
@@ -493,7 +493,7 @@ discard block |
||
493 | 493 | /** |
494 | 494 | * Get the number of distinct Sosa individual up to a specific generation. |
495 | 495 | * |
496 | - * @param number $gen Generation |
|
496 | + * @param integer $gen Generation |
|
497 | 497 | * @return number Number of distinct Sosa individuals up to generation |
498 | 498 | */ |
499 | 499 | public function getDifferentSosaCountUpToGeneration($gen){ |
@@ -516,7 +516,7 @@ discard block |
||
516 | 516 | * - last : Last birth year in generation |
517 | 517 | * - avg : Average birth year |
518 | 518 | * |
519 | - * @param number $gen Generation |
|
519 | + * @param integer $gen Generation |
|
520 | 520 | * @return array Birth statistics array |
521 | 521 | */ |
522 | 522 | public function getStatsBirthYearInGeneration($gen){ |