summaryrefslogtreecommitdiff
path: root/app/Report/ReportPdfImage.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2016-12-25 21:44:26 +0000
committerGreg Roach <fisharebest@gmail.com>2016-12-25 21:46:23 +0000
commit7a6ee1ac7cd0821562d35b111a96b219b46d7899 (patch)
tree99faaab77f0eeff388c72e2d3aa1b70a519d8eb2 /app/Report/ReportPdfImage.php
parentc1343e2ddc990378c44729b8010d8918b623bffd (diff)
downloadwebtrees-7a6ee1ac7cd0821562d35b111a96b219b46d7899.tar.gz
webtrees-7a6ee1ac7cd0821562d35b111a96b219b46d7899.tar.bz2
webtrees-7a6ee1ac7cd0821562d35b111a96b219b46d7899.zip
Code style - single quotes
Diffstat (limited to 'app/Report/ReportPdfImage.php')
-rw-r--r--app/Report/ReportPdfImage.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/app/Report/ReportPdfImage.php b/app/Report/ReportPdfImage.php
index ef899306f3..faa1d95cc9 100644
--- a/app/Report/ReportPdfImage.php
+++ b/app/Report/ReportPdfImage.php
@@ -34,14 +34,14 @@ class ReportPdfImage extends ReportBaseImage {
$curx = $renderer->GetX();
// If current position (left)set "."
- if ($this->x == ".") {
+ if ($this->x == '.') {
$this->x = $renderer->GetX();
} // For static position add margin
else {
$this->x = $renderer->addMarginX($this->x);
$renderer->SetX($curx);
}
- if ($this->y == ".") {
+ if ($this->y == '.') {
//-- first check for a collision with the last picture
if (isset($lastpicbottom)) {
if (($renderer->PageNo() == $lastpicpage) && ($lastpicbottom >= $renderer->GetY()) && ($this->x >= $lastpicleft) && ($this->x <= $lastpicright)
@@ -60,8 +60,8 @@ class ReportPdfImage extends ReportBaseImage {
$this->y,
$this->width,
$this->height,
- "",
- "",
+ '',
+ '',
$this->line,
false,
72,
@@ -74,8 +74,8 @@ class ReportPdfImage extends ReportBaseImage {
$this->y,
$this->width,
$this->height,
- "",
- "",
+ '',
+ '',
$this->line,
false,
72,
@@ -88,7 +88,7 @@ class ReportPdfImage extends ReportBaseImage {
$lastpicright = $this->x + $this->width;
$lastpicbottom = $this->y + $this->height;
// Setup for the next line
- if ($this->line == "N") {
+ if ($this->line == 'N') {
$renderer->SetY($lastpicbottom);
}
}