summaryrefslogtreecommitdiff
path: root/app/Report/ReportBaseElement.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2018-10-05 09:04:29 +0100
committerGreg Roach <fisharebest@webtrees.net>2018-10-05 09:06:16 +0100
commit6c1eebec4aa5bd884cd4af58f83736c7af4d7509 (patch)
tree0a867730051123b8fc02979abe6ce9d4dbc21ae9 /app/Report/ReportBaseElement.php
parenta4eb115a4f8bce11122b383f64fad200e0fa13f9 (diff)
downloadwebtrees-6c1eebec4aa5bd884cd4af58f83736c7af4d7509.tar.gz
webtrees-6c1eebec4aa5bd884cd4af58f83736c7af4d7509.tar.bz2
webtrees-6c1eebec4aa5bd884cd4af58f83736c7af4d7509.zip
Code style
Diffstat (limited to 'app/Report/ReportBaseElement.php')
-rw-r--r--app/Report/ReportBaseElement.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/Report/ReportBaseElement.php b/app/Report/ReportBaseElement.php
index 509636922e..b3416953bd 100644
--- a/app/Report/ReportBaseElement.php
+++ b/app/Report/ReportBaseElement.php
@@ -64,9 +64,9 @@ class ReportBaseElement
*
* @param string $t
*
- * @return int
+ * @return void
*/
- public function addText($t): int
+ public function addText(string $t)
{
$t = trim($t, "\r\n\t");
$t = str_replace([
@@ -79,8 +79,6 @@ class ReportBaseElement
$t = strip_tags($t);
$t = htmlspecialchars_decode($t);
$this->text .= $t;
-
- return 0;
}
/**