summaryrefslogtreecommitdiff
path: root/app/Census/CensusOfUnitedStates1890.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/CensusOfUnitedStates1890.php
parent2c55bacfbfed3c49d3f2ac181fb519d24ffe2803 (diff)
downloadwebtrees-13abd6f3a37322f885d85df150e105d27ad81f8d.tar.gz
webtrees-13abd6f3a37322f885d85df150e105d27ad81f8d.tar.bz2
webtrees-13abd6f3a37322f885d85df150e105d27ad81f8d.zip
Code style - short array syntax
Diffstat (limited to 'app/Census/CensusOfUnitedStates1890.php')
-rw-r--r--app/Census/CensusOfUnitedStates1890.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Census/CensusOfUnitedStates1890.php b/app/Census/CensusOfUnitedStates1890.php
index 1353add13c..0eee347d63 100644
--- a/app/Census/CensusOfUnitedStates1890.php
+++ b/app/Census/CensusOfUnitedStates1890.php
@@ -34,7 +34,7 @@ class CensusOfUnitedStates1890 extends CensusOfUnitedStates implements CensusInt
* @return CensusColumnInterface[]
*/
public function columns() {
- return array(
+ return [
new CensusColumnGivenNameInitial($this, 'Name', 'Christian name in full, and initial of middle name'),
new CensusColumnSurname($this, 'Surname', 'Surname'),
new CensusColumnNull($this, 'CW', 'Whether a soldier, sailor or marine during the civil war (U.S. or Conf.), or widow of such person'),
@@ -59,6 +59,6 @@ class CensusOfUnitedStates1890 extends CensusOfUnitedStates implements CensusInt
new CensusColumnNull($this, 'Disease', 'Whether suffering from acute or chronic disease, with name of disease and length of time afflicted'),
new CensusColumnNull($this, 'Infirm', 'Whether defective in mind, sight, hearing, or speech, or whether crippled, maimed, or deformed, with name of defect'),
new CensusColumnNull($this, 'Prisoner', 'Whether a prisoner, convict, homeless child, or pauper'),
- );
+ ];
}
}