summaryrefslogtreecommitdiff
path: root/app/CommonMark/XrefParser.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-02-15 21:08:11 +0000
committerGreg Roach <fisharebest@webtrees.net>2019-02-16 14:26:05 +0000
commit39ca88ba08cefcfcaf891abfcf748f9c808eb326 (patch)
tree09fb6844b1e44eeb1755671f00317f914644231b /app/CommonMark/XrefParser.php
parent888ddf4f75ad7e5e5b322ccfa329fb24ddc9af04 (diff)
downloadwebtrees-39ca88ba08cefcfcaf891abfcf748f9c808eb326.tar.gz
webtrees-39ca88ba08cefcfcaf891abfcf748f9c808eb326.tar.bz2
webtrees-39ca88ba08cefcfcaf891abfcf748f9c808eb326.zip
Rename functions getFoo() to foo() and return collections instead of arrays
Diffstat (limited to 'app/CommonMark/XrefParser.php')
-rw-r--r--app/CommonMark/XrefParser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/CommonMark/XrefParser.php b/app/CommonMark/XrefParser.php
index 52b6aeaae8..e0c22ecc15 100644
--- a/app/CommonMark/XrefParser.php
+++ b/app/CommonMark/XrefParser.php
@@ -86,7 +86,7 @@ class XrefParser extends AbstractInlineParser
$url = $record->url();
$label = $handle;
- $title = strip_tags($record->getFullName());
+ $title = strip_tags($record->fullName());
$context->getContainer()->appendChild(new Link($url, $label, $title));
return true;