diff options
| author | Greg Roach <fisharebest@gmail.com> | 2016-12-23 21:15:42 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2016-12-23 21:15:42 +0000 |
| commit | 13abd6f3a37322f885d85df150e105d27ad81f8d (patch) | |
| tree | f023015b458c95273afe5876246adf141de169ca /app/Report/ReportBaseElement.php | |
| parent | 2c55bacfbfed3c49d3f2ac181fb519d24ffe2803 (diff) | |
| download | webtrees-13abd6f3a37322f885d85df150e105d27ad81f8d.tar.gz webtrees-13abd6f3a37322f885d85df150e105d27ad81f8d.tar.bz2 webtrees-13abd6f3a37322f885d85df150e105d27ad81f8d.zip | |
Code style - short array syntax
Diffstat (limited to 'app/Report/ReportBaseElement.php')
| -rw-r--r-- | app/Report/ReportBaseElement.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Report/ReportBaseElement.php b/app/Report/ReportBaseElement.php index f9687deb13..2e18582689 100644 --- a/app/Report/ReportBaseElement.php +++ b/app/Report/ReportBaseElement.php @@ -62,7 +62,7 @@ class ReportBaseElement { */ public function addText($t) { $t = trim($t, "\r\n\t"); - $t = str_replace(array("<br>", " "), array("\n", " "), $t); + $t = str_replace(["<br>", " "], ["\n", " "], $t); $t = strip_tags($t); $t = htmlspecialchars_decode($t); $this->text .= $t; |
