diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2019-02-15 21:08:11 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2019-02-16 14:26:05 +0000 |
| commit | 39ca88ba08cefcfcaf891abfcf748f9c808eb326 (patch) | |
| tree | 09fb6844b1e44eeb1755671f00317f914644231b /app/CommonMark/XrefParser.php | |
| parent | 888ddf4f75ad7e5e5b322ccfa329fb24ddc9af04 (diff) | |
| download | webtrees-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.php | 2 |
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; |
