diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-05-30 18:18:55 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-05-30 18:47:31 +0100 |
| commit | ffd703ea1e658c7dcb5e5f1f9ef137a420f2d167 (patch) | |
| tree | 7c94111f6f092b4360af16efa0bb720f1d6ea9ad /app/Report/ReportHtmlText.php | |
| parent | aa318aa388bfe05e30ccd9bce62cde2dba3f43be (diff) | |
| download | webtrees-ffd703ea1e658c7dcb5e5f1f9ef137a420f2d167.tar.gz webtrees-ffd703ea1e658c7dcb5e5f1f9ef137a420f2d167.tar.bz2 webtrees-ffd703ea1e658c7dcb5e5f1f9ef137a420f2d167.zip | |
PHP-CS-FIXER, PSR-2 (mostly!)
Diffstat (limited to 'app/Report/ReportHtmlText.php')
| -rw-r--r-- | app/Report/ReportHtmlText.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Report/ReportHtmlText.php b/app/Report/ReportHtmlText.php index e8fefd19ae..18a42091cb 100644 --- a/app/Report/ReportHtmlText.php +++ b/app/Report/ReportHtmlText.php @@ -27,7 +27,7 @@ class ReportHtmlText extends ReportBaseText { * * @return void */ - function render($renderer, $curx = 0, $attrib = true) { + public function render($renderer, $curx = 0, $attrib = true) { // Setup the style name if ($renderer->getCurrentStyle() != $this->styleName) { @@ -79,7 +79,7 @@ class ReportHtmlText extends ReportBaseText { * * @return float */ - function getHeight($html) { + public function getHeight($html) { $ct = substr_count($this->text, "\n"); if ($ct > 0) { $ct += 1; @@ -95,7 +95,7 @@ class ReportHtmlText extends ReportBaseText { * * @return array */ - function getWidth($html) { + public function getWidth($html) { // Setup the style name if ($html->getCurrentStyle() != $this->styleName) { $html->setCurrentStyle($this->styleName); |
