summaryrefslogtreecommitdiff
path: root/app/Report/ReportBaseText.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-02-16 19:17:09 +0000
committerGreg Roach <fisharebest@gmail.com>2015-02-16 19:17:09 +0000
commite2d2f0ebbf39d76686e87f17ffd50b0c303c942a (patch)
tree4656f856e5e6669c27eb61262b3ff94fe8126455 /app/Report/ReportBaseText.php
parent0f7b1e94b64877dfd834f8e91ba531e9932d5c60 (diff)
downloadwebtrees-e2d2f0ebbf39d76686e87f17ffd50b0c303c942a.tar.gz
webtrees-e2d2f0ebbf39d76686e87f17ffd50b0c303c942a.tar.bz2
webtrees-e2d2f0ebbf39d76686e87f17ffd50b0c303c942a.zip
Add visibility to constructors
Diffstat (limited to 'app/Report/ReportBaseText.php')
-rw-r--r--app/Report/ReportBaseText.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Report/ReportBaseText.php b/app/Report/ReportBaseText.php
index 944afe7233..7c5bdac763 100644
--- a/app/Report/ReportBaseText.php
+++ b/app/Report/ReportBaseText.php
@@ -51,7 +51,7 @@ class ReportBaseText extends ReportBaseElement {
* @param string $style The name of the text style
* @param string $color HTML color code
*/
- function __construct($style, $color) {
+ public function __construct($style, $color) {
$this->text = '';
$this->color = $color;
$this->wrapWidthRemaining = 0;