@@ -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( |
@@ -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( |
@@ -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( |
@@ -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( |
@@ -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'); |
@@ -21,6 +21,7 @@ |
||
21 | 21 | interface MigrationInterface { |
22 | 22 | /** |
23 | 23 | * Upgrade to to the next version |
24 | + * @return void |
|
24 | 25 | */ |
25 | 26 | public function upgrade(); |
26 | 27 | } |
@@ -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( |
@@ -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( |
@@ -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()) { |