@@ -176,7 +176,7 @@ |
||
176 | 176 | /** |
177 | 177 | * Format an individual. |
178 | 178 | * |
179 | - * @param $person |
|
179 | + * @param Individual|null $person |
|
180 | 180 | * @param bool $showUnknown |
181 | 181 | * |
182 | 182 | * @return string |
@@ -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()) { |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | * @param string $xref2 |
159 | 159 | * @param int $tree_id |
160 | 160 | * |
161 | - * @return array |
|
161 | + * @return string[] |
|
162 | 162 | */ |
163 | 163 | private function allAncestors($xref1, $xref2, $tree_id) { |
164 | 164 | $ancestors = [$xref1, $xref2]; |
@@ -197,7 +197,7 @@ discard block |
||
197 | 197 | * @param string $xref2 |
198 | 198 | * @param int $tree_id |
199 | 199 | * |
200 | - * @return array |
|
200 | + * @return string[] |
|
201 | 201 | */ |
202 | 202 | private function excludeFamilies($xref1, $xref2, $tree_id) { |
203 | 203 | return Database::prepare( |
@@ -842,7 +842,7 @@ |
||
842 | 842 | /** |
843 | 843 | * Which months follows this one? Calendars with leap-months should provide their own implementation. |
844 | 844 | * |
845 | - * @return int[] |
|
845 | + * @return integer[] |
|
846 | 846 | */ |
847 | 847 | protected function nextMonth() { |
848 | 848 | return [$this->m === $this->calendar->monthsInYear() ? $this->nextYear($this->y) : $this->y, ($this->m % $this->calendar->monthsInYear()) + 1]; |