diff options
| author | Rico Sonntag <mail@ricosonntag.de> | 2018-08-27 20:04:49 +0200 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2018-08-27 19:04:49 +0100 |
| commit | 8f53f488f13e53e44dc48778e8f51ec9f91352dd (patch) | |
| tree | 7c8de419d3b2381f073453ccf601f85bf25b5177 /app/CommonMark/XrefExtension.php | |
| parent | 12c79f746ea1903d66aea1fe0412eda6149a5532 (diff) | |
| download | webtrees-8f53f488f13e53e44dc48778e8f51ec9f91352dd.tar.gz webtrees-8f53f488f13e53e44dc48778e8f51ec9f91352dd.tar.bz2 webtrees-8f53f488f13e53e44dc48778e8f51ec9f91352dd.zip | |
Added PHP7 return types to methods according doc block (#1864)
Diffstat (limited to 'app/CommonMark/XrefExtension.php')
| -rw-r--r-- | app/CommonMark/XrefExtension.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/CommonMark/XrefExtension.php b/app/CommonMark/XrefExtension.php index fc0d52bbc1..891c256dfa 100644 --- a/app/CommonMark/XrefExtension.php +++ b/app/CommonMark/XrefExtension.php @@ -39,7 +39,7 @@ class XrefExtension extends Extension /** * @return array */ - public function getInlineParsers() + public function getInlineParsers(): array { return [ new XrefParser($this->tree), @@ -49,7 +49,7 @@ class XrefExtension extends Extension /** * @return string */ - public function getName() + public function getName(): string { return 'xref'; } |
