summaryrefslogtreecommitdiff
path: root/app/Controller/HourglassController.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/Controller/HourglassController.php
parent2c55bacfbfed3c49d3f2ac181fb519d24ffe2803 (diff)
downloadwebtrees-13abd6f3a37322f885d85df150e105d27ad81f8d.tar.gz
webtrees-13abd6f3a37322f885d85df150e105d27ad81f8d.tar.bz2
webtrees-13abd6f3a37322f885d85df150e105d27ad81f8d.zip
Code style - short array syntax
Diffstat (limited to 'app/Controller/HourglassController.php')
-rw-r--r--app/Controller/HourglassController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/HourglassController.php b/app/Controller/HourglassController.php
index 4b95331e81..fc9544e741 100644
--- a/app/Controller/HourglassController.php
+++ b/app/Controller/HourglassController.php
@@ -221,7 +221,7 @@ class HourglassController extends ChartController {
$numkids = 0;
$families = $person->getSpouseFamilies();
$famNum = 0;
- $children = array();
+ $children = [];
if ($count < $this->dgenerations) {
// Put all of the children in a common array
foreach ($families as $family) {