summaryrefslogtreecommitdiff
path: root/app/Report/ReportBaseText.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-05-30 18:18:55 +0100
committerGreg Roach <fisharebest@gmail.com>2015-05-30 18:47:31 +0100
commitffd703ea1e658c7dcb5e5f1f9ef137a420f2d167 (patch)
tree7c94111f6f092b4360af16efa0bb720f1d6ea9ad /app/Report/ReportBaseText.php
parentaa318aa388bfe05e30ccd9bce62cde2dba3f43be (diff)
downloadwebtrees-ffd703ea1e658c7dcb5e5f1f9ef137a420f2d167.tar.gz
webtrees-ffd703ea1e658c7dcb5e5f1f9ef137a420f2d167.tar.bz2
webtrees-ffd703ea1e658c7dcb5e5f1f9ef137a420f2d167.zip
PHP-CS-FIXER, PSR-2 (mostly!)
Diffstat (limited to 'app/Report/ReportBaseText.php')
-rw-r--r--app/Report/ReportBaseText.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Report/ReportBaseText.php b/app/Report/ReportBaseText.php
index 7c5bdac763..4f7bfa4214 100644
--- a/app/Report/ReportBaseText.php
+++ b/app/Report/ReportBaseText.php
@@ -66,7 +66,7 @@ class ReportBaseText extends ReportBaseElement {
*
* @return mixed
*/
- function setWrapWidth($wrapwidth, $cellwidth) {
+ public function setWrapWidth($wrapwidth, $cellwidth) {
$this->wrapWidthCell = $cellwidth;
if (strpos($this->text, "\n") !== false) {
$this->wrapWidthRemaining = $cellwidth;
@@ -80,7 +80,7 @@ class ReportBaseText extends ReportBaseElement {
/**
* @return string
*/
- function getStyleName() {
+ public function getStyleName() {
return $this->styleName;
}
}