summaryrefslogtreecommitdiff
path: root/app/Report/ReportHtmlFootnote.php
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2021-08-15 14:09:48 +0100
committerGreg Roach <greg@subaqua.co.uk>2021-08-15 14:09:48 +0100
commit41cfb9e2204e7a7e8919e48098071f28e9a0fc54 (patch)
tree7418f5201a63547355c10fa56f6afaf280cad2d2 /app/Report/ReportHtmlFootnote.php
parentc9ca6f0e94b70b10a4a3efbffa9ec1b6233a9838 (diff)
downloadwebtrees-41cfb9e2204e7a7e8919e48098071f28e9a0fc54.tar.gz
webtrees-41cfb9e2204e7a7e8919e48098071f28e9a0fc54.tar.bz2
webtrees-41cfb9e2204e7a7e8919e48098071f28e9a0fc54.zip
Fix: #3975 - refactor getWidth() in reports. Thanks to jon48
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 26cacd9615..9421f7e433 100644
--- a/app/Report/ReportHtmlFootnote.php
+++ b/app/Report/ReportHtmlFootnote.php
@@ -105,9 +105,9 @@ class ReportHtmlFootnote extends ReportBaseFootnote
*
* @param HtmlRenderer $renderer
*
- * @return float|array
+ * @return array{0:float,1:int,2:float|int}
*/
- public function getWidth($renderer)
+ public function getWidth($renderer): array
{
// Setup the style name
$renderer->setCurrentStyle('footnotenum');