summaryrefslogtreecommitdiff
path: root/app/Report/ReportPdfCell.php
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2022-03-13 18:34:46 +0000
committerGreg Roach <greg@subaqua.co.uk>2022-03-13 19:15:36 +0000
commitb4c5c807eb501a4b2f3da3cb8eb38981bf4a3a25 (patch)
tree960ae9c17102655517200029e3ef7259d9ab5de5 /app/Report/ReportPdfCell.php
parent005852d3661383a8542dc03559938e1b51bf94f7 (diff)
downloadwebtrees-b4c5c807eb501a4b2f3da3cb8eb38981bf4a3a25.tar.gz
webtrees-b4c5c807eb501a4b2f3da3cb8eb38981bf4a3a25.tar.bz2
webtrees-b4c5c807eb501a4b2f3da3cb8eb38981bf4a3a25.zip
CodeStyle - upper/lower case mismatches
Diffstat (limited to 'app/Report/ReportPdfCell.php')
-rw-r--r--app/Report/ReportPdfCell.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/app/Report/ReportPdfCell.php b/app/Report/ReportPdfCell.php
index 24ea79cbe0..358970ce43 100644
--- a/app/Report/ReportPdfCell.php
+++ b/app/Report/ReportPdfCell.php
@@ -63,7 +63,7 @@ class ReportPdfCell extends ReportBaseCell
$r = hexdec($match[1]);
$g = hexdec($match[2]);
$b = hexdec($match[3]);
- $renderer->tcpdf->SetFillColor($r, $g, $b);
+ $renderer->tcpdf->setFillColor($r, $g, $b);
}
} else {
// If no color set then don't fill
@@ -77,7 +77,7 @@ class ReportPdfCell extends ReportBaseCell
$r = hexdec($match[1]);
$g = hexdec($match[2]);
$b = hexdec($match[3]);
- $renderer->tcpdf->SetDrawColor($r, $g, $b);
+ $renderer->tcpdf->setDrawColor($r, $g, $b);
}
// Paint the text color or they might use inherited colors by the previous function
@@ -85,9 +85,9 @@ class ReportPdfCell extends ReportBaseCell
$r = hexdec($match[1]);
$g = hexdec($match[2]);
$b = hexdec($match[3]);
- $renderer->tcpdf->SetTextColor($r, $g, $b);
+ $renderer->tcpdf->setTextColor($r, $g, $b);
} else {
- $renderer->tcpdf->SetTextColor(0, 0, 0);
+ $renderer->tcpdf->setTextColor(0, 0, 0);
}
// If current position (left)
@@ -106,7 +106,7 @@ class ReportPdfCell extends ReportBaseCell
if ($this->top === ReportBaseElement::CURRENT_POSITION) {
$this->top = $renderer->tcpdf->GetY();
} else {
- $renderer->tcpdf->SetY($this->top);
+ $renderer->tcpdf->setY($this->top);
}
// Check the last cell height and adjust the current cell height if needed
@@ -158,7 +158,7 @@ class ReportPdfCell extends ReportBaseCell
$renderer->tcpdf->Link($cX, $this->top, $this->width, $this->height, $this->url);
}
// Reset the border and the text color to black or they will be inherited
- $renderer->tcpdf->SetDrawColor(0, 0, 0);
- $renderer->tcpdf->SetTextColor(0, 0, 0);
+ $renderer->tcpdf->setDrawColor(0, 0, 0);
+ $renderer->tcpdf->setTextColor(0, 0, 0);
}
}