summaryrefslogtreecommitdiff
path: root/app/Census/CensusOfUnitedStates1840.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/Census/CensusOfUnitedStates1840.php
parent2c55bacfbfed3c49d3f2ac181fb519d24ffe2803 (diff)
downloadwebtrees-13abd6f3a37322f885d85df150e105d27ad81f8d.tar.gz
webtrees-13abd6f3a37322f885d85df150e105d27ad81f8d.tar.bz2
webtrees-13abd6f3a37322f885d85df150e105d27ad81f8d.zip
Code style - short array syntax
Diffstat (limited to 'app/Census/CensusOfUnitedStates1840.php')
-rw-r--r--app/Census/CensusOfUnitedStates1840.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Census/CensusOfUnitedStates1840.php b/app/Census/CensusOfUnitedStates1840.php
index 1e6baacd1b..6fcb413d51 100644
--- a/app/Census/CensusOfUnitedStates1840.php
+++ b/app/Census/CensusOfUnitedStates1840.php
@@ -34,7 +34,7 @@ class CensusOfUnitedStates1840 extends CensusOfUnitedStates implements CensusInt
* @return CensusColumnInterface[]
*/
public function columns() {
- return array(
+ return [
new CensusColumnFullName($this, 'Name', 'Name of head of family'),
new CensusColumnNull($this, 'M0', 'Free white males 0-5 years'),
@@ -75,6 +75,6 @@ class CensusOfUnitedStates1840 extends CensusOfUnitedStates implements CensusInt
new CensusColumnNull($this, 'F36', 'Free colored females 36-55 years'),
new CensusColumnNull($this, 'F55', 'Free colored females 55-100 years'),
new CensusColumnNull($this, 'F100', 'Free colored females 100+ years'),
- );
+ ];
}
}