summaryrefslogtreecommitdiff
path: root/app/Report/ReportHtmlFootnote.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/ReportHtmlFootnote.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/ReportHtmlFootnote.php')
-rw-r--r--app/Report/ReportHtmlFootnote.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Report/ReportHtmlFootnote.php b/app/Report/ReportHtmlFootnote.php
index db78fe4ebd..cdc565ec13 100644
--- a/app/Report/ReportHtmlFootnote.php
+++ b/app/Report/ReportHtmlFootnote.php
@@ -27,7 +27,7 @@ class ReportHtmlFootnote extends ReportBaseFootnote {
*
* @return void
*/
- function render($renderer) {
+ public function render($renderer) {
$renderer->setCurrentStyle("footnotenum");
echo "<a href=\"#footnote", $this->num, "\"><sup>";
$renderer->write($renderer->entityRTL . $this->num);
@@ -42,7 +42,7 @@ class ReportHtmlFootnote extends ReportBaseFootnote {
*
* @return void
*/
- function renderFootnote($html) {
+ public function renderFootnote($html) {
if ($html->getCurrentStyle() != $this->styleName) {
$html->setCurrentStyle($this->styleName);
@@ -66,7 +66,7 @@ class ReportHtmlFootnote extends ReportBaseFootnote {
*
* @return integer Footnote height in points
*/
- function getFootnoteHeight($html, $cellWidth = 0) {
+ public function getFootnoteHeight($html, $cellWidth = 0) {
if ($html->getCurrentStyle() != $this->styleName) {
$html->setCurrentStyle($this->styleName);
}
@@ -88,7 +88,7 @@ class ReportHtmlFootnote extends ReportBaseFootnote {
*
* @return array
*/
- function getWidth($html) {
+ public function getWidth($html) {
// Setup the style name
$html->setCurrentStyle("footnotenum");