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/Controller/FanchartController.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/Controller/FanchartController.php')
| -rw-r--r-- | app/Controller/FanchartController.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Controller/FanchartController.php b/app/Controller/FanchartController.php index 2f7df24081..7df28632cc 100644 --- a/app/Controller/FanchartController.php +++ b/app/Controller/FanchartController.php @@ -63,11 +63,11 @@ class FanchartController extends ChartController { * @return string[] */ public function getFanStyles() { - return array( + return [ 2 => /* I18N: layout option for the fan chart */ I18N::translate('half circle'), 3 => /* I18N: layout option for the fan chart */ I18N::translate('three-quarter circle'), 4 => /* I18N: layout option for the fan chart */ I18N::translate('full circle'), - ); + ]; } /** @@ -79,7 +79,7 @@ class FanchartController extends ChartController { * @return string $text output string */ public function splitAlignText($data, $maxlen) { - $RTLOrd = array(215, 216, 217, 218, 219); + $RTLOrd = [215, 216, 217, 218, 219]; $lines = explode("\n", $data); // more than 1 line : recursive calls |
