summaryrefslogtreecommitdiff
path: root/app/Report
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-10-30 19:22:40 +0000
committerGreg Roach <fisharebest@webtrees.net>2019-10-30 19:22:40 +0000
commit0947a64ab3e903860354368634a59b427f6fe153 (patch)
treec8161fcdda5f59d72f27fb99467365adf40f1449 /app/Report
parent1e1f12655b923f2c8202031988ae45f0ebc664ab (diff)
downloadwebtrees-0947a64ab3e903860354368634a59b427f6fe153.tar.gz
webtrees-0947a64ab3e903860354368634a59b427f6fe153.tar.bz2
webtrees-0947a64ab3e903860354368634a59b427f6fe153.zip
StrictTypes
Diffstat (limited to 'app/Report')
-rw-r--r--app/Report/ReportBaseTextbox.php18
1 files changed, 16 insertions, 2 deletions
diff --git a/app/Report/ReportBaseTextbox.php b/app/Report/ReportBaseTextbox.php
index fdc3f16ccd..c3c0177c34 100644
--- a/app/Report/ReportBaseTextbox.php
+++ b/app/Report/ReportBaseTextbox.php
@@ -114,6 +114,8 @@ class ReportBaseTextbox extends ReportBaseElement
public $padding;
/**
* Resets this box last height after it’s done
+ *
+ * @var bool
*/
public $reseth;
@@ -133,8 +135,20 @@ class ReportBaseTextbox extends ReportBaseElement
* @param bool $padding
* @param bool $reseth
*/
- public function __construct($width, $height, $border, $bgcolor, $newline, $left, $top, $pagecheck, $style, $fill, $padding, $reseth)
- {
+ public function __construct(
+ float $width,
+ float $height,
+ bool $border,
+ string $bgcolor,
+ bool $newline,
+ float $left,
+ float $top,
+ bool $pagecheck,
+ string $style,
+ bool $fill,
+ bool $padding,
+ bool $reseth
+ ) {
$this->border = $border;
$this->bgcolor = $bgcolor;
$this->fill = $fill;