summaryrefslogtreecommitdiff
path: root/app/Report/ReportHtmlFootnote.php
diff options
context:
space:
mode:
authorRico Sonntag <mail@ricosonntag.de>2018-08-27 20:04:49 +0200
committerGreg Roach <fisharebest@gmail.com>2018-08-27 19:04:49 +0100
commit8f53f488f13e53e44dc48778e8f51ec9f91352dd (patch)
tree7c8de419d3b2381f073453ccf601f85bf25b5177 /app/Report/ReportHtmlFootnote.php
parent12c79f746ea1903d66aea1fe0412eda6149a5532 (diff)
downloadwebtrees-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/ReportHtmlFootnote.php')
-rw-r--r--app/Report/ReportHtmlFootnote.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Report/ReportHtmlFootnote.php b/app/Report/ReportHtmlFootnote.php
index 596580fca0..1878e70079 100644
--- a/app/Report/ReportHtmlFootnote.php
+++ b/app/Report/ReportHtmlFootnote.php
@@ -69,7 +69,7 @@ class ReportHtmlFootnote extends ReportBaseFootnote
*
* @return int Footnote height in points
*/
- public function getFootnoteHeight($html, $cellWidth = 0)
+ public function getFootnoteHeight($html, $cellWidth = 0): int
{
if ($html->getCurrentStyle() != $this->styleName) {
$html->setCurrentStyle($this->styleName);
@@ -93,7 +93,7 @@ class ReportHtmlFootnote extends ReportBaseFootnote
*
* @return array
*/
- public function getWidth($html)
+ public function getWidth($html): array
{
// Setup the style name
$html->setCurrentStyle('footnotenum');