summaryrefslogtreecommitdiff
path: root/app/Report/ReportPdfCell.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2016-12-23 21:15:42 +0000
committerGreg Roach <fisharebest@gmail.com>2016-12-23 21:15:42 +0000
commit13abd6f3a37322f885d85df150e105d27ad81f8d (patch)
treef023015b458c95273afe5876246adf141de169ca /app/Report/ReportPdfCell.php
parent2c55bacfbfed3c49d3f2ac181fb519d24ffe2803 (diff)
downloadwebtrees-13abd6f3a37322f885d85df150e105d27ad81f8d.tar.gz
webtrees-13abd6f3a37322f885d85df150e105d27ad81f8d.tar.bz2
webtrees-13abd6f3a37322f885d85df150e105d27ad81f8d.zip
Code style - short array syntax
Diffstat (limited to 'app/Report/ReportPdfCell.php')
-rw-r--r--app/Report/ReportPdfCell.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Report/ReportPdfCell.php b/app/Report/ReportPdfCell.php
index 5d23c229dd..0ab131e001 100644
--- a/app/Report/ReportPdfCell.php
+++ b/app/Report/ReportPdfCell.php
@@ -34,8 +34,8 @@ class ReportPdfCell extends ReportBaseCell {
}
$temptext = str_replace("#PAGENUM#", $renderer->PageNo(), $this->text);
// underline «title» part of Source item
- $temptext = str_replace(array('«', '»'), array('<u>', '</u>'), $temptext);
- $match = array();
+ $temptext = str_replace(['«', '»'], ['<u>', '</u>'], $temptext);
+ $match = [];
// Indicates if the cell background must be painted (1) or transparent (0)
if ($this->fill == 1) {
if (!empty($this->bgcolor)) {