diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2019-03-05 12:00:04 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2019-03-05 12:00:04 +0000 |
| commit | 54c7f8df0fc7bddb0bcc1441937c30320ca68563 (patch) | |
| tree | 64310c28cc14940206d42b27287992ad9af5477d /app/Services/ChartService.php | |
| parent | 0cfd6963ac65bd7fe86283b801b4f23d665c6004 (diff) | |
| download | webtrees-54c7f8df0fc7bddb0bcc1441937c30320ca68563.tar.gz webtrees-54c7f8df0fc7bddb0bcc1441937c30320ca68563.tar.bz2 webtrees-54c7f8df0fc7bddb0bcc1441937c30320ca68563.zip | |
Dual type-hints upset vimeo/psalm, but are useful in PhpStorm
Diffstat (limited to 'app/Services/ChartService.php')
| -rw-r--r-- | app/Services/ChartService.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/app/Services/ChartService.php b/app/Services/ChartService.php index c8a9c0a106..ccb5f45987 100644 --- a/app/Services/ChartService.php +++ b/app/Services/ChartService.php @@ -32,7 +32,8 @@ class ChartService * @param Individual $individual Start with this individual * @param int $generations Fetch this number of generations * - * @return Collection|Individual[] + * @return Collection + * @return Individual[] */ public function sosaStradonitzAncestors(Individual $individual, int $generations): Collection { @@ -73,7 +74,8 @@ class ChartService * @param Individual $individual Start with this individual * @param int $generations Fetch this number of generations * - * @return Collection|Individual[] + * @return Collection + * @return Individual[] */ public function descendants(Individual $individual, int $generations): Collection { @@ -96,7 +98,8 @@ class ChartService * @param Individual $individual Start with this individual * @param int $generations Fetch this number of generations * - * @return Collection|Family[] + * @return Collection + * @return Family[] */ public function descendantFamilies(Individual $individual, int $generations): Collection { |
