diff options
| author | Scrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com> | 2018-09-24 14:21:17 +0200 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2018-09-24 13:21:17 +0100 |
| commit | 0ea23b7829d8bd38dc862b61285e14b0e1858a16 (patch) | |
| tree | 020a3662510e0a877c0ddf73d42f58f4ab58a7c1 /app/Report/ReportHtmlText.php | |
| parent | 5ac00337f57c6f7c400b3eff271c8cbd6be018b3 (diff) | |
| download | webtrees-0ea23b7829d8bd38dc862b61285e14b0e1858a16.tar.gz webtrees-0ea23b7829d8bd38dc862b61285e14b0e1858a16.tar.bz2 webtrees-0ea23b7829d8bd38dc862b61285e14b0e1858a16.zip | |
Scrutinizer Auto-Fixes (#1929)
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
Diffstat (limited to 'app/Report/ReportHtmlText.php')
| -rw-r--r-- | app/Report/ReportHtmlText.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Report/ReportHtmlText.php b/app/Report/ReportHtmlText.php index aa4f848f87..41506e3890 100644 --- a/app/Report/ReportHtmlText.php +++ b/app/Report/ReportHtmlText.php @@ -61,7 +61,7 @@ class ReportHtmlText extends ReportBaseText $lines = explode("\n", $temptext); foreach ($lines as $line) { echo '<div style="position:absolute;top:', $startY, 'pt;', $renderer->alignRTL, ':', $startX, 'pt;width:', $width, 'pt;">'; - $line = $renderer->textWrap($line, $width); + $line = $renderer->textWrap($line, $width); $startY += $renderer->getTextCellHeight($line); $renderer->setY($startY); $renderer->write($line, $this->color); @@ -148,7 +148,7 @@ class ReportHtmlText extends ReportBaseText $newtext .= ' '; } } else { - $lw = $html->getStringWidth($word . ' '); + $lw = $html->getStringWidth($word . ' '); $newtext .= "\n$word"; if ($addspace != 0) { $newtext .= ' '; |
