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/ReportPdfCell.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/ReportPdfCell.php')
| -rw-r--r-- | app/Report/ReportPdfCell.php | 4 |
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)) { |
