summaryrefslogtreecommitdiff
path: root/app/Census/CensusOfUnitedStates1850.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/CensusOfUnitedStates1850.php
parent2c55bacfbfed3c49d3f2ac181fb519d24ffe2803 (diff)
downloadwebtrees-13abd6f3a37322f885d85df150e105d27ad81f8d.tar.gz
webtrees-13abd6f3a37322f885d85df150e105d27ad81f8d.tar.bz2
webtrees-13abd6f3a37322f885d85df150e105d27ad81f8d.zip
Code style - short array syntax
Diffstat (limited to 'app/Census/CensusOfUnitedStates1850.php')
-rw-r--r--app/Census/CensusOfUnitedStates1850.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Census/CensusOfUnitedStates1850.php b/app/Census/CensusOfUnitedStates1850.php
index 3f0c0a475c..ecba481be4 100644
--- a/app/Census/CensusOfUnitedStates1850.php
+++ b/app/Census/CensusOfUnitedStates1850.php
@@ -34,7 +34,7 @@ class CensusOfUnitedStates1850 extends CensusOfUnitedStates implements CensusInt
* @return CensusColumnInterface[]
*/
public function columns() {
- return array(
+ return [
new CensusColumnFullName($this, 'Name', 'Name'),
new CensusColumnAge($this, 'Age', 'Age'),
new CensusColumnSexMF($this, 'Sex', 'Sex'),
@@ -46,6 +46,6 @@ class CensusOfUnitedStates1850 extends CensusOfUnitedStates implements CensusInt
new CensusColumnNull($this, 'School', 'Attended school within the year'),
new CensusColumnNull($this, 'R+W', 'Persons over 20 years of age who cannot read and write'),
new CensusColumnNull($this, 'Infirm', 'Whether deaf and dumb, blind, insane, idiotic, pauper or convict'),
- );
+ ];
}
}