summaryrefslogtreecommitdiff
path: root/app/Report/ReportHtmlCell.php
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2020-12-30 11:34:42 +0000
committerGreg Roach <greg@subaqua.co.uk>2020-12-31 16:46:20 +0000
commitd823340d4d04643b3f94883f228cc924aea7b772 (patch)
tree575cfd6d07d82263ecc7573540cb41bac9c4c5e9 /app/Report/ReportHtmlCell.php
parent5e933c21f8006e675d1df8bcedc634ee61f4aec2 (diff)
downloadwebtrees-d823340d4d04643b3f94883f228cc924aea7b772.tar.gz
webtrees-d823340d4d04643b3f94883f228cc924aea7b772.tar.bz2
webtrees-d823340d4d04643b3f94883f228cc924aea7b772.zip
CodeStyle
Diffstat (limited to 'app/Report/ReportHtmlCell.php')
-rw-r--r--app/Report/ReportHtmlCell.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Report/ReportHtmlCell.php b/app/Report/ReportHtmlCell.php
index 9082f32c06..988701c726 100644
--- a/app/Report/ReportHtmlCell.php
+++ b/app/Report/ReportHtmlCell.php
@@ -196,16 +196,16 @@ class ReportHtmlCell extends ReportBaseCell
echo "</div>\n";
// Where to place the next position
- if ($this->newline == 0) {
+ if ($this->newline === 0) {
// -> Next to this cell in the same line
$renderer->setXy($this->left + $this->width, $this->top);
$renderer->lastCellHeight = $this->height;
- } elseif ($this->newline == 1) {
+ } elseif ($this->newline === 1) {
// -> On a new line at the margin - Default
$renderer->setXy(0, $renderer->getY() + $this->height + ($cP * 2));
// Reset the last cell height for the next line
$renderer->lastCellHeight = 0;
- } elseif ($this->newline == 2) {
+ } elseif ($this->newline === 2) {
// -> On a new line at the end of this cell
$renderer->setXy($renderer->getX() + $this->width, $renderer->getY() + $this->height + ($cP * 2));
// Reset the last cell height for the next line