diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2018-10-09 16:57:52 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2018-10-09 16:57:52 +0100 |
| commit | c21bdddc89b941099aac7bad64af11da73acab4e (patch) | |
| tree | 96c9e03c6e2445fb719c34f679e87b812ad2c220 /app/Report/ReportPdfCell.php | |
| parent | e24444eeefe1caed93aa11866313e0407b4ce028 (diff) | |
| download | webtrees-c21bdddc89b941099aac7bad64af11da73acab4e.tar.gz webtrees-c21bdddc89b941099aac7bad64af11da73acab4e.tar.bz2 webtrees-c21bdddc89b941099aac7bad64af11da73acab4e.zip | |
More type hints for reports
Diffstat (limited to 'app/Report/ReportPdfCell.php')
| -rw-r--r-- | app/Report/ReportPdfCell.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Report/ReportPdfCell.php b/app/Report/ReportPdfCell.php index 737327aedb..b55f1d0562 100644 --- a/app/Report/ReportPdfCell.php +++ b/app/Report/ReportPdfCell.php @@ -84,7 +84,7 @@ class ReportPdfCell extends ReportBaseCell } // If current position (left) - if ($this->left == '.') { + if ($this->left === ReportBaseElement::CURRENT_POSITION) { $cX = $renderer->GetX(); } else { // For static position add margin (also updates X) @@ -96,7 +96,7 @@ class ReportPdfCell extends ReportBaseCell $this->width = $renderer->getRemainingWidthPDF(); } // For current position - if ($this->top == '.') { + if ($this->top === ReportBaseElement::CURRENT_POSITION) { $this->top = $renderer->GetY(); } else { $renderer->SetY($this->top); |
