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/Census/CensusOfUnitedStates1850.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/Census/CensusOfUnitedStates1850.php')
| -rw-r--r-- | app/Census/CensusOfUnitedStates1850.php | 4 |
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'), - ); + ]; } } |
