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/ReportHtmlCell.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/ReportHtmlCell.php')
| -rw-r--r-- | app/Report/ReportHtmlCell.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Report/ReportHtmlCell.php b/app/Report/ReportHtmlCell.php index 29080167c1..4fee3dfc97 100644 --- a/app/Report/ReportHtmlCell.php +++ b/app/Report/ReportHtmlCell.php @@ -53,13 +53,13 @@ class ReportHtmlCell extends ReportBaseCell $cP = $renderer->cPadding; // Adjust the positions - if ($this->left == '.') { + if ($this->left === ReportBaseElement::CURRENT_POSITION) { $this->left = $renderer->getX(); } else { $renderer->setX($this->left); } - if ($this->top == '.') { + if ($this->top === ReportBaseElement::CURRENT_POSITION) { $this->top = $renderer->getY(); } else { $renderer->setY($this->top); |
