summaryrefslogtreecommitdiff
path: root/app/Family.php
diff options
context:
space:
mode:
authorRico Sonntag <mail@ricosonntag.de>2017-11-02 18:46:11 +0100
committerGreg Roach <fisharebest@gmail.com>2017-11-03 08:50:28 +0000
commit16d0b7f74e80c16cb445079b0322702930031dc7 (patch)
tree6d12b4c33c815ae4aa776d696fc0fc1ab916d8be /app/Family.php
parent3b896c03575e2dd07b0991a7090c7046b2e38517 (diff)
downloadwebtrees-16d0b7f74e80c16cb445079b0322702930031dc7.tar.gz
webtrees-16d0b7f74e80c16cb445079b0322702930031dc7.tar.bz2
webtrees-16d0b7f74e80c16cb445079b0322702930031dc7.zip
Return Place instance instead of string, allowing use of object methods
Diffstat (limited to 'app/Family.php')
-rw-r--r--app/Family.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Family.php b/app/Family.php
index e0ae082054..dcbb8d0841 100644
--- a/app/Family.php
+++ b/app/Family.php
@@ -307,7 +307,7 @@ class Family extends GedcomRecord {
/**
* Get a list of all marriage places - for the family lists.
*
- * @return string[]
+ * @return array|Place[]
*/
public function getAllMarriagePlaces() {
foreach (explode('|', WT_EVENTS_MARR) as $event) {