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/Report/ReportHtmlText.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/Report/ReportHtmlText.php')
| -rw-r--r-- | app/Report/ReportHtmlText.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Report/ReportHtmlText.php b/app/Report/ReportHtmlText.php index 89dc8d5c27..7a7e489a75 100644 --- a/app/Report/ReportHtmlText.php +++ b/app/Report/ReportHtmlText.php @@ -86,7 +86,7 @@ class ReportHtmlText extends ReportBaseText * * @return float */ - public function getHeight($html) + public function getHeight($html): float { $ct = substr_count($this->text, "\n"); if ($ct > 0) { @@ -104,7 +104,7 @@ class ReportHtmlText extends ReportBaseText * * @return array */ - public function getWidth($html) + public function getWidth($html): array { // Setup the style name if ($html->getCurrentStyle() != $this->styleName) { |
