summaryrefslogtreecommitdiff
path: root/app/Fact.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-03-05 12:00:04 +0000
committerGreg Roach <fisharebest@webtrees.net>2019-03-05 12:00:04 +0000
commit54c7f8df0fc7bddb0bcc1441937c30320ca68563 (patch)
tree64310c28cc14940206d42b27287992ad9af5477d /app/Fact.php
parent0cfd6963ac65bd7fe86283b801b4f23d665c6004 (diff)
downloadwebtrees-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/Fact.php')
-rw-r--r--app/Fact.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Fact.php b/app/Fact.php
index 6068df6cf7..524783cfbd 100644
--- a/app/Fact.php
+++ b/app/Fact.php
@@ -690,7 +690,8 @@ class Fact
*
* @param Fact[] $unsorted
*
- * @return Collection|Fact[]
+ * @return Collection
+ * @return Fact[]
*/
public static function sortFacts($unsorted): Collection
{