summaryrefslogtreecommitdiff
path: root/app/Census/CensusOfUnitedStates1940.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/CensusOfUnitedStates1940.php
parent2c55bacfbfed3c49d3f2ac181fb519d24ffe2803 (diff)
downloadwebtrees-13abd6f3a37322f885d85df150e105d27ad81f8d.tar.gz
webtrees-13abd6f3a37322f885d85df150e105d27ad81f8d.tar.bz2
webtrees-13abd6f3a37322f885d85df150e105d27ad81f8d.zip
Code style - short array syntax
Diffstat (limited to 'app/Census/CensusOfUnitedStates1940.php')
-rw-r--r--app/Census/CensusOfUnitedStates1940.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Census/CensusOfUnitedStates1940.php b/app/Census/CensusOfUnitedStates1940.php
index eee6d17f9a..ae166d1cfd 100644
--- a/app/Census/CensusOfUnitedStates1940.php
+++ b/app/Census/CensusOfUnitedStates1940.php
@@ -34,7 +34,7 @@ class CensusOfUnitedStates1940 extends CensusOfUnitedStates implements CensusInt
* @return CensusColumnInterface[]
*/
public function columns() {
- return array(
+ return [
new CensusColumnFullName($this, 'Name', 'Name'),
new CensusColumnRelationToHead($this, 'Relation', 'Relationship of each person to the head of the family'),
new CensusColumnNull($this, 'Home', 'Home owned or rented'),
@@ -62,6 +62,6 @@ class CensusOfUnitedStates1940 extends CensusOfUnitedStates implements CensusInt
new CensusColumnNull($this, 'Unemp', 'If not, …'),
new CensusColumnNull($this, 'Vet', 'Whether a veteran of U.S. military or …'),
new CensusColumnNull($this, 'War', 'What war or …'),
- );
+ ];
}
}