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 | |
| 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')
104 files changed, 207 insertions, 207 deletions
diff --git a/app/Census/AbstractCensusColumn.php b/app/Census/AbstractCensusColumn.php index 746b3ed11e..c89d2977d6 100644 --- a/app/Census/AbstractCensusColumn.php +++ b/app/Census/AbstractCensusColumn.php @@ -145,7 +145,7 @@ class AbstractCensusColumn { */ public function spouseFamily(Individual $individual) { // Exclude families that were created after this census date - $families = array(); + $families = []; foreach ($individual->getSpouseFamilies() as $family) { if (Date::compare($family->getMarriageDate(), $this->date()) <= 0) { $families[] = $family; diff --git a/app/Census/Census.php b/app/Census/Census.php index f108159e2e..3b24fa1f9b 100644 --- a/app/Census/Census.php +++ b/app/Census/Census.php @@ -23,7 +23,7 @@ class Census { * @return CensusPlaceInterface[] */ public static function allCensusPlaces() { - return array( + return [ new CensusOfCzechRepublic, new CensusOfDenmark, new CensusOfDeutschland, @@ -32,6 +32,6 @@ class Census { new CensusOfScotland, new CensusOfUnitedStates, new CensusOfWales, - ); + ]; } } diff --git a/app/Census/CensusColumnNationality.php b/app/Census/CensusColumnNationality.php index 11ad4d8ea6..15bbb3c713 100644 --- a/app/Census/CensusColumnNationality.php +++ b/app/Census/CensusColumnNationality.php @@ -23,12 +23,12 @@ use Fisharebest\Webtrees\Individual; */ class CensusColumnNationality extends AbstractCensusColumn implements CensusColumnInterface { /** @var array Convert a country name to a nationality */ - private $nationalities = array( + private $nationalities = [ 'England' => 'British', 'Scotland' => 'British', 'Wales' => 'British', 'Deutschland' => 'Deutsch', - ); + ]; /** * Generate the likely value of this census column, based on available information. diff --git a/app/Census/CensusOfCzechRepublic.php b/app/Census/CensusOfCzechRepublic.php index ee40b2fd1d..a232d6f868 100644 --- a/app/Census/CensusOfCzechRepublic.php +++ b/app/Census/CensusOfCzechRepublic.php @@ -25,10 +25,10 @@ class CensusOfCzechRepublic extends Census implements CensusPlaceInterface { * @return CensusInterface[] */ public function allCensusDates() { - return array( + return [ new CensusOfCzechRepublic1880(), new CensusOfCzechRepublic1921(), - ); + ]; } /** diff --git a/app/Census/CensusOfCzechRepublic1880.php b/app/Census/CensusOfCzechRepublic1880.php index e4c64d133c..69d254c0c4 100644 --- a/app/Census/CensusOfCzechRepublic1880.php +++ b/app/Census/CensusOfCzechRepublic1880.php @@ -34,7 +34,7 @@ class CensusOfCzechRepublic1880 extends CensusOfCzechRepublic implements CensusI * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Jméno', ''), new CensusColumnSexMZ($this, 'Pohlaví', ''), new CensusColumnRelationToHead($this, 'Vztah', ''), @@ -49,6 +49,6 @@ class CensusOfCzechRepublic1880 extends CensusOfCzechRepublic implements CensusI new CensusColumnNull($this, '', ''), new CensusColumnNull($this, '', ''), new CensusColumnNull($this, '', ''), - ); + ]; } } diff --git a/app/Census/CensusOfCzechRepublic1921.php b/app/Census/CensusOfCzechRepublic1921.php index f9540525d7..794a203250 100644 --- a/app/Census/CensusOfCzechRepublic1921.php +++ b/app/Census/CensusOfCzechRepublic1921.php @@ -34,7 +34,7 @@ class CensusOfCzechRepublic1921 extends CensusOfCzechRepublic implements CensusI * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Jméno', ''), new CensusColumnRelationToHead($this, 'Vztah', ''), new CensusColumnSexMZ($this, 'Pohlaví', ''), @@ -49,6 +49,6 @@ class CensusOfCzechRepublic1921 extends CensusOfCzechRepublic implements CensusI new CensusColumnNull($this, '', ''), new CensusColumnNull($this, '', ''), new CensusColumnNull($this, '', ''), - ); + ]; } } diff --git a/app/Census/CensusOfDenmark.php b/app/Census/CensusOfDenmark.php index 27357e3e61..1b53b241b5 100644 --- a/app/Census/CensusOfDenmark.php +++ b/app/Census/CensusOfDenmark.php @@ -25,7 +25,7 @@ class CensusOfDenmark extends Census implements CensusPlaceInterface { * @return CensusInterface[] */ public function allCensusDates() { - return array( + return [ new CensusOfDenmark1787(), new CensusOfDenmark1801(), new CensusOfDenmark1803(), @@ -48,7 +48,7 @@ class CensusOfDenmark extends Census implements CensusPlaceInterface { new CensusOfDenmark1925(), new CensusOfDenmark1930(), new CensusOfDenmark1940(), - ); + ]; } /** diff --git a/app/Census/CensusOfDenmark1787.php b/app/Census/CensusOfDenmark1787.php index c5f451c81e..8031a7d84e 100644 --- a/app/Census/CensusOfDenmark1787.php +++ b/app/Census/CensusOfDenmark1787.php @@ -34,12 +34,12 @@ class CensusOfDenmark1787 extends CensusOfDenmark implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Navn', ''), new CensusColumnRelationToHead($this, 'Stilling i familien', ''), new CensusColumnAge($this, 'Alder', ''), new CensusColumnConditionDanish($this, 'Civilstand', ''), new CensusColumnOccupation($this, 'Erhverv', ''), - ); + ]; } } diff --git a/app/Census/CensusOfDenmark1801.php b/app/Census/CensusOfDenmark1801.php index 90b391709e..3333f62aa5 100644 --- a/app/Census/CensusOfDenmark1801.php +++ b/app/Census/CensusOfDenmark1801.php @@ -34,12 +34,12 @@ class CensusOfDenmark1801 extends CensusOfDenmark implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Navn', ''), new CensusColumnRelationToHead($this, 'Stilling i familien', ''), new CensusColumnAge($this, 'Alder', ''), new CensusColumnConditionDanish($this, 'Civilstand', ''), new CensusColumnOccupation($this, 'Erhverv', ''), - ); + ]; } } diff --git a/app/Census/CensusOfDenmark1803.php b/app/Census/CensusOfDenmark1803.php index 7d139203b5..30f20c61e0 100644 --- a/app/Census/CensusOfDenmark1803.php +++ b/app/Census/CensusOfDenmark1803.php @@ -43,12 +43,12 @@ class CensusOfDenmark1803 extends CensusOfDenmark implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Navn', ''), new CensusColumnRelationToHead($this, 'Stilling i familien', ''), new CensusColumnAge($this, 'Alder', ''), new CensusColumnConditionDanish($this, 'Civilstand', ''), new CensusColumnOccupation($this, 'Erhverv', ''), - ); + ]; } } diff --git a/app/Census/CensusOfDenmark1834.php b/app/Census/CensusOfDenmark1834.php index 2eef6a67a3..0ed4e6d3a6 100644 --- a/app/Census/CensusOfDenmark1834.php +++ b/app/Census/CensusOfDenmark1834.php @@ -34,11 +34,11 @@ class CensusOfDenmark1834 extends CensusOfDenmark implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Navn', ''), new CensusColumnAge($this, 'Alder', ''), new CensusColumnConditionDanish($this, 'Civilstand', ''), new CensusColumnRelationToHead($this, 'Stilling i familien', ''), - ); + ]; } } diff --git a/app/Census/CensusOfDenmark1835.php b/app/Census/CensusOfDenmark1835.php index f00b668af7..d5f9de170a 100644 --- a/app/Census/CensusOfDenmark1835.php +++ b/app/Census/CensusOfDenmark1835.php @@ -43,11 +43,11 @@ class CensusOfDenmark1835 extends CensusOfDenmark implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Navn', ''), new CensusColumnAge($this, 'Alder', ''), new CensusColumnConditionDanish($this, 'Civilstand', ''), new CensusColumnRelationToHead($this, 'Stilling i familien', ''), - ); + ]; } } diff --git a/app/Census/CensusOfDenmark1840.php b/app/Census/CensusOfDenmark1840.php index e01afce5b6..5bbc72a94e 100644 --- a/app/Census/CensusOfDenmark1840.php +++ b/app/Census/CensusOfDenmark1840.php @@ -34,11 +34,11 @@ class CensusOfDenmark1840 extends CensusOfDenmark implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Navn', ''), new CensusColumnAge($this, 'Alder', ''), new CensusColumnConditionDanish($this, 'Civilstand', ''), new CensusColumnRelationToHead($this, 'Stilling i familien', ''), - ); + ]; } } diff --git a/app/Census/CensusOfDenmark1845.php b/app/Census/CensusOfDenmark1845.php index 560b3ad714..089b830734 100644 --- a/app/Census/CensusOfDenmark1845.php +++ b/app/Census/CensusOfDenmark1845.php @@ -34,7 +34,7 @@ class CensusOfDenmark1845 extends CensusOfDenmark implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Navn', ''), new CensusColumnAge($this, 'Alder', ''), new CensusColumnConditionDanish($this, 'Civilstand', ''), @@ -42,6 +42,6 @@ class CensusOfDenmark1845 extends CensusOfDenmark implements CensusInterface { new CensusColumnRelationToHead($this, 'Stilling i familien', ''), new CensusColumnNull($this, '', ''), new CensusColumnNull($this, '', ''), - ); + ]; } } diff --git a/app/Census/CensusOfDenmark1850.php b/app/Census/CensusOfDenmark1850.php index f7675805c4..f4e13bc218 100644 --- a/app/Census/CensusOfDenmark1850.php +++ b/app/Census/CensusOfDenmark1850.php @@ -34,7 +34,7 @@ class CensusOfDenmark1850 extends CensusOfDenmark implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Navn', ''), new CensusColumnAge($this, 'Alder', ''), new CensusColumnConditionDanish($this, 'Civilstand', ''), @@ -45,6 +45,6 @@ class CensusOfDenmark1850 extends CensusOfDenmark implements CensusInterface { new CensusColumnNull($this, '', ''), new CensusColumnNull($this, '', ''), new CensusColumnNull($this, '', ''), - ); + ]; } } diff --git a/app/Census/CensusOfDenmark1855.php b/app/Census/CensusOfDenmark1855.php index 5871118a8a..99980fd3cb 100644 --- a/app/Census/CensusOfDenmark1855.php +++ b/app/Census/CensusOfDenmark1855.php @@ -34,7 +34,7 @@ class CensusOfDenmark1855 extends CensusOfDenmark implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Navn', ''), new CensusColumnAge($this, 'Alder', ''), new CensusColumnConditionDanish($this, 'Civilstand', ''), @@ -45,6 +45,6 @@ class CensusOfDenmark1855 extends CensusOfDenmark implements CensusInterface { new CensusColumnNull($this, '', ''), new CensusColumnNull($this, '', ''), new CensusColumnNull($this, '', ''), - ); + ]; } } diff --git a/app/Census/CensusOfDenmark1860.php b/app/Census/CensusOfDenmark1860.php index 83f7012bf0..f85ae0d50d 100644 --- a/app/Census/CensusOfDenmark1860.php +++ b/app/Census/CensusOfDenmark1860.php @@ -34,7 +34,7 @@ class CensusOfDenmark1860 extends CensusOfDenmark implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Navn', ''), new CensusColumnAge($this, 'Alder', ''), new CensusColumnConditionDanish($this, 'Civilstand', ''), @@ -47,6 +47,6 @@ class CensusOfDenmark1860 extends CensusOfDenmark implements CensusInterface { new CensusColumnNull($this, '', ''), new CensusColumnNull($this, '', ''), new CensusColumnNull($this, '', ''), - ); + ]; } } diff --git a/app/Census/CensusOfDenmark1870.php b/app/Census/CensusOfDenmark1870.php index d7937cf6a8..28a9d474da 100644 --- a/app/Census/CensusOfDenmark1870.php +++ b/app/Census/CensusOfDenmark1870.php @@ -34,7 +34,7 @@ class CensusOfDenmark1870 extends CensusOfDenmark implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Navn', ''), new CensusColumnSexMK($this, 'Køn', ''), new CensusColumnAge($this, 'Alder', ''), @@ -49,6 +49,6 @@ class CensusOfDenmark1870 extends CensusOfDenmark implements CensusInterface { new CensusColumnNull($this, '', ''), new CensusColumnNull($this, '', ''), new CensusColumnNull($this, '', ''), - ); + ]; } } diff --git a/app/Census/CensusOfDenmark1880.php b/app/Census/CensusOfDenmark1880.php index 35f2780770..3683b8ac8c 100644 --- a/app/Census/CensusOfDenmark1880.php +++ b/app/Census/CensusOfDenmark1880.php @@ -34,7 +34,7 @@ class CensusOfDenmark1880 extends CensusOfDenmark implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Navn', ''), new CensusColumnSexMK($this, 'Køn', ''), new CensusColumnAge($this, 'Alder', ''), @@ -48,6 +48,6 @@ class CensusOfDenmark1880 extends CensusOfDenmark implements CensusInterface { new CensusColumnNull($this, '', ''), new CensusColumnNull($this, '', ''), new CensusColumnNull($this, '', ''), - ); + ]; } } diff --git a/app/Census/CensusOfDenmark1885.php b/app/Census/CensusOfDenmark1885.php index 615db60f01..224990b47a 100644 --- a/app/Census/CensusOfDenmark1885.php +++ b/app/Census/CensusOfDenmark1885.php @@ -43,7 +43,7 @@ class CensusOfDenmark1885 extends CensusOfDenmark implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Navn', ''), new CensusColumnSexMK($this, 'Køn', ''), new CensusColumnAge($this, 'Alder', ''), @@ -57,6 +57,6 @@ class CensusOfDenmark1885 extends CensusOfDenmark implements CensusInterface { new CensusColumnNull($this, '', ''), new CensusColumnNull($this, '', ''), new CensusColumnNull($this, '', ''), - ); + ]; } } diff --git a/app/Census/CensusOfDenmark1890.php b/app/Census/CensusOfDenmark1890.php index efe91ed8d0..157e7aea47 100644 --- a/app/Census/CensusOfDenmark1890.php +++ b/app/Census/CensusOfDenmark1890.php @@ -34,7 +34,7 @@ class CensusOfDenmark1890 extends CensusOfDenmark implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Navn', 'Samtlige Personers fulde Navn.'), new CensusColumnSexMK($this, 'Køn', 'Kjønnet. Mandkøn (M.) eller Kvindekøn (Kv.).'), new CensusColumnAge($this, 'Alder', 'Alder. Alderen anføres med det fyldte Aar, men for Børn, der ikke have fyldt 1 Aar, anføres „Under 1 Aar“ of Fødselsdagen.'), @@ -50,6 +50,6 @@ class CensusOfDenmark1890 extends CensusOfDenmark implements CensusInterface { new CensusColumnNull($this, 'Idioter', 'Uden Forstandsovner (Idioter).'), new CensusColumnNull($this, 'Sindssyge', 'Sindssyge.'), new CensusColumnNull($this, 'Anmærkninger', 'Anmærkninger.'), - ); + ]; } } diff --git a/app/Census/CensusOfDenmark1901.php b/app/Census/CensusOfDenmark1901.php index 3414d60487..3207f98c31 100644 --- a/app/Census/CensusOfDenmark1901.php +++ b/app/Census/CensusOfDenmark1901.php @@ -34,7 +34,7 @@ class CensusOfDenmark1901 extends CensusOfDenmark implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Navn', 'Samtlige Personers Navn (ogsaa Fornavn). Ved Børn, endnu uden Navn, sættes „Dreng“ eller „Pige“.'), new CensusColumnSexMK($this, 'Køn', 'Kjønnet. Mandkøn (M.) eller Kvindekøn (Kv.).'), new CensusColumnBirthDaySlashMonthYear($this, 'Fødselsdag', 'Føderlsaar og Føderladag.'), @@ -52,6 +52,6 @@ class CensusOfDenmark1901 extends CensusOfDenmark implements CensusInterface { new CensusColumnNull($this, '', ''), new CensusColumnNull($this, '', ''), new CensusColumnNull($this, 'Anmærkninger', 'Anmærkninger.'), - ); + ]; } } diff --git a/app/Census/CensusOfDenmark1906.php b/app/Census/CensusOfDenmark1906.php index 5b1fed85d3..7268d503e0 100644 --- a/app/Census/CensusOfDenmark1906.php +++ b/app/Census/CensusOfDenmark1906.php @@ -34,7 +34,7 @@ class CensusOfDenmark1906 extends CensusOfDenmark implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Navn', 'Samtlige Personers Navn (ogsaa Fornavn). Ved Børn, endnu uden Navn, sættes „Dreng“ eller „Pige“. Midlertidig fraværerade Personer anføres ikke her, men paa Skemaeta Bagside)'), new CensusColumnSexMK($this, 'Køn', 'Kjønnet. Mandkøn (M) eller Kvindekøn (K).'), new CensusColumnBirthDaySlashMonthYear($this, 'Fødselsdag', 'Føderlsaar og Føderladag.'), @@ -49,6 +49,6 @@ class CensusOfDenmark1906 extends CensusOfDenmark implements CensusInterface { new CensusColumnNull($this, '', ''), new CensusColumnNull($this, '', ''), new CensusColumnNull($this, 'Anmærkninger', 'Anmærkninger.'), - ); + ]; } } diff --git a/app/Census/CensusOfDenmark1911.php b/app/Census/CensusOfDenmark1911.php index da20f35e65..228bf59218 100644 --- a/app/Census/CensusOfDenmark1911.php +++ b/app/Census/CensusOfDenmark1911.php @@ -34,7 +34,7 @@ class CensusOfDenmark1911 extends CensusOfDenmark implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Navn', 'Samtlige Personers Navn (ogsaa Fornavn). Ved Børn, endnu uden Navn, sættes „Dreng“ eller „Pige“. Midlertidig fraværerade Personer anføres ikke her, men paa Skemaeta Bagside)'), new CensusColumnSexMK($this, 'Køn', 'Kjønnet. Mandkøn (M) eller Kvindekøn (K).'), new CensusColumnBirthDaySlashMonthYear($this, 'Fødselsdag', 'Føderlsaar og Føderladag.'), @@ -50,6 +50,6 @@ class CensusOfDenmark1911 extends CensusOfDenmark implements CensusInterface { new CensusColumnNull($this, '', ''), new CensusColumnNull($this, '', ''), new CensusColumnNull($this, 'Anmærkninger', 'Anmærkninger.'), - ); + ]; } } diff --git a/app/Census/CensusOfDenmark1916.php b/app/Census/CensusOfDenmark1916.php index a0a42baa40..d4b6212652 100644 --- a/app/Census/CensusOfDenmark1916.php +++ b/app/Census/CensusOfDenmark1916.php @@ -34,7 +34,7 @@ class CensusOfDenmark1916 extends CensusOfDenmark implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Navn', 'Samtlige Personers Navn (ogsaa Fornavn). Ved Børn, endnu uden Navn, sættes „Dreng“ eller „Pige“. Midlertidig fraværerade Personer anføres ikke her, men paa Skemaeta Bagside)'), new CensusColumnSexMK($this, 'Køn', 'Kjønnet. Mandkøn (M) eller Kvindekøn (K).'), new CensusColumnBirthDaySlashMonthYear($this, 'Fødselsdag', 'Føderlsaar og Føderladag.'), @@ -47,6 +47,6 @@ class CensusOfDenmark1916 extends CensusOfDenmark implements CensusInterface { new CensusColumnOccupation($this, 'Erhverv', ''), new CensusColumnNull($this, '', ''), new CensusColumnNull($this, 'Anmærkninger', 'Anmærkninger.'), - ); + ]; } } diff --git a/app/Census/CensusOfDenmark1921.php b/app/Census/CensusOfDenmark1921.php index b043df4a34..4c1245c932 100644 --- a/app/Census/CensusOfDenmark1921.php +++ b/app/Census/CensusOfDenmark1921.php @@ -34,7 +34,7 @@ class CensusOfDenmark1921 extends CensusOfDenmark implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Navn', 'Samtlige Personers Navn (ogsaa Fornavn). Ved Børn, endnu uden Navn, sættes „Dreng“ eller „Pige“. Midlertidig fraværerade Personer anføres ikke her, men paa Skemaeta Bagside)'), new CensusColumnSexMK($this, 'Køn', 'Kjønnet. Mandkøn (M) eller Kvindekøn (K).'), new CensusColumnBirthDaySlashMonth($this, 'Fødselsdag', ''), @@ -49,6 +49,6 @@ class CensusOfDenmark1921 extends CensusOfDenmark implements CensusInterface { new CensusColumnNull($this, '', ''), new CensusColumnNull($this, '', ''), new CensusColumnNull($this, 'Anmærkninger', 'Anmærkninger.'), - ); + ]; } } diff --git a/app/Census/CensusOfDenmark1925.php b/app/Census/CensusOfDenmark1925.php index bdc43626cf..65fc13623a 100644 --- a/app/Census/CensusOfDenmark1925.php +++ b/app/Census/CensusOfDenmark1925.php @@ -34,7 +34,7 @@ class CensusOfDenmark1925 extends CensusOfDenmark implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Navn', 'Samtlige Personers Navn (ogsaa Fornavn). Ved Børn, endnu uden Navn, sættes „Dreng“ eller „Pige“. Midlertidig fraværerade Personer anføres ikke her, men paa Skemaeta Bagside)'), new CensusColumnSexMK($this, 'Køn', 'Kjønnet. Mandkøn (M) eller Kvindekøn (K).'), new CensusColumnBirthDaySlashMonth($this, 'Fødselsdag', ''), @@ -46,6 +46,6 @@ class CensusOfDenmark1925 extends CensusOfDenmark implements CensusInterface { new CensusColumnOccupation($this, 'Erhverv', 'Erhverv eller Livsstilling'), new CensusColumnNull($this, 'Bopæl', 'Bopæl den 5. Novbr. 1924'), new CensusColumnNull($this, 'Anmærkninger', 'Anmærkninger'), - ); + ]; } } diff --git a/app/Census/CensusOfDenmark1930.php b/app/Census/CensusOfDenmark1930.php index 152711c9e6..a0ad62f8e3 100644 --- a/app/Census/CensusOfDenmark1930.php +++ b/app/Census/CensusOfDenmark1930.php @@ -34,7 +34,7 @@ class CensusOfDenmark1930 extends CensusOfDenmark implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnSurnameGivenNames($this, 'Navn', ''), new CensusColumnNull($this, 'Bopæl', ''), new CensusColumnNull($this, 'Andetsteds', 'Hvis den i Rubrik 3 opførte Person har fast Bopæl andetsteds, anføres her den faste Bopæl'), @@ -53,6 +53,6 @@ class CensusOfDenmark1930 extends CensusOfDenmark implements CensusInterface { new CensusColumnNull($this, '', ''), new CensusColumnNull($this, '', ''), new CensusColumnNull($this, '', ''), - ); + ]; } } diff --git a/app/Census/CensusOfDenmark1940.php b/app/Census/CensusOfDenmark1940.php index 81322dc9d8..b7cb57a6c1 100644 --- a/app/Census/CensusOfDenmark1940.php +++ b/app/Census/CensusOfDenmark1940.php @@ -34,7 +34,7 @@ class CensusOfDenmark1940 extends CensusOfDenmark implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnSurnameGivenNames($this, 'Navn', ''), new CensusColumnNull($this, 'Nærværende', 'Hvis den i Rubrik 1 opførte Person er midleritidg nærværende d.v.s. har fast Bopæl ????? (er optaget under en anden Address i Folkeregistret), anføres her den faste Bopæls Adresse (Kommunens Navn og den fuldstændige Adresse i denne; for Udlændinge dog kun Landets Navn).'), new CensusColumnNull($this, 'Fraværende', 'Hvis den i Rubrik 1 opførte Person er midleritidg fraværende d.v.s. har fast Bopæl paa Tællingsstedet (er optaget underdenne Address i Folkeregistret), men den 5. Novemer ikke er til Stede paa Tællingsstedet, anføres her „fraværende“ og Adressen paa det midlertidige Opholdssted (ved Ophold i Udlandet anføres jun Landets Navn).'), @@ -50,6 +50,6 @@ class CensusOfDenmark1940 extends CensusOfDenmark implements CensusInterface { new CensusColumnNull($this, 'Virksomhedens', 'Virksomhedens (Branchens) Art'), new CensusColumnNull($this, 'Hustruen', 'Besvares kun af Hustruen og hjemmeboende Børn over 14 Aar'), new CensusColumnNull($this, 'Døtre', 'Besvares kun af hjemmeboende Døtre over 14 Aar'), - ); + ]; } } diff --git a/app/Census/CensusOfDeutschland.php b/app/Census/CensusOfDeutschland.php index 670940ebed..753995c88c 100644 --- a/app/Census/CensusOfDeutschland.php +++ b/app/Census/CensusOfDeutschland.php @@ -25,13 +25,13 @@ class CensusOfDeutschland extends Census implements CensusPlaceInterface { * @return CensusInterface[] */ public function allCensusDates() { - return array( + return [ new CensusOfDeutschland1819(), new CensusOfDeutschland1867(), new CensusOfDeutschlandNL1867(), new CensusOfDeutschland1900(), new CensusOfDeutschland1919(), - ); + ]; } /** diff --git a/app/Census/CensusOfDeutschland1819.php b/app/Census/CensusOfDeutschland1819.php index 17cab5ea5e..7e6e168820 100644 --- a/app/Census/CensusOfDeutschland1819.php +++ b/app/Census/CensusOfDeutschland1819.php @@ -43,7 +43,7 @@ class CensusOfDeutschland1819 extends CensusOfDeutschland implements CensusInter * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnNull($this, 'Nr.', 'Laufende Num̅er.'), new CensusColumnNull($this, 'Geschlecht', 'Ob männlichen oder weiblichen Geschlechts.'), new CensusColumnFullName($this, 'Name', 'Vor- und Zuname.'), @@ -57,6 +57,6 @@ class CensusOfDeutschland1819 extends CensusOfDeutschland implements CensusInter new CensusColumnNull($this, 'Familienstand', 'Ob ledig oder verheirathet.'), new CensusColumnReligion($this, 'Religion', 'Religion.'), new CensusColumnNull($this, 'Bemerkungen', 'Allgemeine Bemerkungen.'), - ); + ]; } } diff --git a/app/Census/CensusOfDeutschland1867.php b/app/Census/CensusOfDeutschland1867.php index 43edd867f1..cc964dc298 100644 --- a/app/Census/CensusOfDeutschland1867.php +++ b/app/Census/CensusOfDeutschland1867.php @@ -43,7 +43,7 @@ class CensusOfDeutschland1867 extends CensusOfDeutschland implements CensusInter * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnNull($this, '1.Nr.', 'Ordnungs-Nummer (1-15).'), new CensusColumnGivenNames($this, '2.Vorname', 'I. Vor- und Familien-Name jeder Person. Vorname'), new CensusColumnSurname($this, '3.Familienname', 'I. Vor- und Familien-Name jeder Person. Familienname.'), @@ -67,6 +67,6 @@ class CensusOfDeutschland1867 extends CensusOfDeutschland implements CensusInter new CensusColumnNull($this, '21.taubstumm', 'IX. Besondere Mängel einzelner Individuen. taubstumm.'), new CensusColumnNull($this, '22.blödsinnig', 'IX. Besondere Mängel einzelner Individuen. blödsinnig.'), new CensusColumnNull($this, '23.irrsinnig', 'IX. Besondere Mängel einzelner Individuen. irrsinnig.'), - ); + ]; } } diff --git a/app/Census/CensusOfDeutschland1900.php b/app/Census/CensusOfDeutschland1900.php index 3c64acba37..37a0ef98da 100644 --- a/app/Census/CensusOfDeutschland1900.php +++ b/app/Census/CensusOfDeutschland1900.php @@ -43,7 +43,7 @@ class CensusOfDeutschland1900 extends CensusOfDeutschland implements CensusInter * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnNull($this, 'Lfd.Nr.', 'Laufende Nummer'), new CensusColumnGivenNames($this, 'Vorname', 'Vorname'), new CensusColumnSurname($this, 'Familienname', 'Familienname'), @@ -71,6 +71,6 @@ class CensusOfDeutschland1900 extends CensusOfDeutschland implements CensusInter new CensusColumnNull($this, 'ZK 11.Dienstgrad', '11. Für Militärpersonen im aktiven Dienste: Dienstgrad:'), new CensusColumnNull($this, 'ZK 11.Einheit', 'Truppentheil, Kommando- oder Verwaltungsbehörde:'), new CensusColumnNull($this, 'ZK 12.Gebrechen', '12. Etwaige körperliche Mängel und Gebrechen:'), - ); + ]; } } diff --git a/app/Census/CensusOfDeutschland1919.php b/app/Census/CensusOfDeutschland1919.php index ca42da7ac4..c319feeab8 100644 --- a/app/Census/CensusOfDeutschland1919.php +++ b/app/Census/CensusOfDeutschland1919.php @@ -43,7 +43,7 @@ class CensusOfDeutschland1919 extends CensusOfDeutschland implements CensusInter * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnNull($this, 'Nummer', 'Laufende Nummer'), new CensusColumnGivenNames($this, 'Vorname', 'Vorname'), new CensusColumnSurname($this, 'Familienname', 'Familienname'), @@ -61,6 +61,6 @@ class CensusOfDeutschland1919 extends CensusOfDeutschland implements CensusInter new CensusColumnNull($this, 'Wohn-/ Aufenthaltsort', 'Wohnort bei nur vorübergehend Anwesenden. Aufenthaltsort bei vorübergehend Abwesenden'), new CensusColumnNull($this, 'Dienstgrad', 'Für Militärpersonen: Angabe des Dienstgrades'), new CensusColumnNull($this, 'Kriegsgefangener', 'Angabe ob Kriegsgefangener'), - ); + ]; } } diff --git a/app/Census/CensusOfDeutschlandNL1867.php b/app/Census/CensusOfDeutschlandNL1867.php index 11fe43debb..9ce646b441 100644 --- a/app/Census/CensusOfDeutschlandNL1867.php +++ b/app/Census/CensusOfDeutschlandNL1867.php @@ -43,7 +43,7 @@ class CensusOfDeutschlandNL1867 extends CensusOfDeutschland implements CensusInt * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnNull($this, '1.Nr.', 'Ordnungs-Nummer.'), new CensusColumnGivenNames($this, '2.Vorname', 'I. Vor- und Familienname jeder Person. Vorname.'), new CensusColumnSurname($this, '3.Familienname', 'I. Vor- und Familienname jeder Person. Familienname.'), @@ -62,6 +62,6 @@ class CensusOfDeutschlandNL1867 extends CensusOfDeutschland implements CensusInt new CensusColumnNull($this, '16.', 'VII. Art des Abwesenheit vom Zählungsorte. Nicht über ein Jahr Abwesende auf Besuch außerhalb des Orts.'), new CensusColumnNull($this, '17.', 'VII. Art des Aufenthalts am Zählungsort. Ueber ein Jahr, oder in anderer Art als nach Spalte 14 bis 16 Abwesende.'), new CensusColumnNull($this, '18.Aufenthaltsort', 'VIII. Vermuthlicher Aufenthaltsort zur Zählungszeit.'), - ); + ]; } } diff --git a/app/Census/CensusOfEngland.php b/app/Census/CensusOfEngland.php index 11a401f680..61c20f19e2 100644 --- a/app/Census/CensusOfEngland.php +++ b/app/Census/CensusOfEngland.php @@ -25,7 +25,7 @@ class CensusOfEngland extends Census implements CensusPlaceInterface { * @return CensusInterface[] */ public function allCensusDates() { - return array( + return [ new CensusOfEngland1841(), new CensusOfEngland1851(), new CensusOfEngland1861(), @@ -35,7 +35,7 @@ class CensusOfEngland extends Census implements CensusPlaceInterface { new CensusOfEngland1901(), new CensusOfEngland1911(), new RegisterOfEngland1939(), - ); + ]; } /** diff --git a/app/Census/CensusOfEngland1841.php b/app/Census/CensusOfEngland1841.php index 33d86397b1..3bd9e6369e 100644 --- a/app/Census/CensusOfEngland1841.php +++ b/app/Census/CensusOfEngland1841.php @@ -34,13 +34,13 @@ class CensusOfEngland1841 extends CensusOfEngland implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Name', 'Name'), new CensusColumnAgeMale5Years($this, 'AgeM', 'Age (males)'), new CensusColumnAgeFemale5Years($this, 'AgeF', 'Age (females)'), new CensusColumnOccupation($this, 'Occupation', 'Profession, trade, employment or of independent means'), new CensusColumnNull($this, 'BiC', 'Born in same county'), new CensusColumnBornForeignParts($this, 'SIF', 'Born in Scotland, Ireland or foreign parts'), - ); + ]; } } diff --git a/app/Census/CensusOfEngland1851.php b/app/Census/CensusOfEngland1851.php index 0ce44687fe..abbc92e3ae 100644 --- a/app/Census/CensusOfEngland1851.php +++ b/app/Census/CensusOfEngland1851.php @@ -34,7 +34,7 @@ class CensusOfEngland1851 extends CensusOfEngland implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Name', 'Name and surname'), new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'), new CensusColumnConditionEnglish($this, 'Condition', 'Condition'), @@ -43,6 +43,6 @@ class CensusOfEngland1851 extends CensusOfEngland implements CensusInterface { new CensusColumnOccupation($this, 'Occupation', 'Rank, profession or occupation'), new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'), new CensusColumnNull($this, 'Infirm', 'Whether blind or deaf-and-dumb'), - ); + ]; } } diff --git a/app/Census/CensusOfEngland1861.php b/app/Census/CensusOfEngland1861.php index 1b8e715674..21aebf302c 100644 --- a/app/Census/CensusOfEngland1861.php +++ b/app/Census/CensusOfEngland1861.php @@ -34,7 +34,7 @@ class CensusOfEngland1861 extends CensusOfEngland implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Name', 'Name and surname'), new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'), new CensusColumnConditionEnglish($this, 'Condition', 'Condition'), @@ -43,6 +43,6 @@ class CensusOfEngland1861 extends CensusOfEngland implements CensusInterface { new CensusColumnOccupation($this, 'Occupation', 'Rank, profession or occupation'), new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'), new CensusColumnNull($this, 'Infirm', 'Whether blind or deaf-and-dumb'), - ); + ]; } } diff --git a/app/Census/CensusOfEngland1871.php b/app/Census/CensusOfEngland1871.php index bfede578ba..937fea881b 100644 --- a/app/Census/CensusOfEngland1871.php +++ b/app/Census/CensusOfEngland1871.php @@ -34,7 +34,7 @@ class CensusOfEngland1871 extends CensusOfEngland implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Name', 'Name and surname'), new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'), new CensusColumnConditionEnglish($this, 'Condition', 'Condition'), @@ -43,6 +43,6 @@ class CensusOfEngland1871 extends CensusOfEngland implements CensusInterface { new CensusColumnOccupation($this, 'Occupation', 'Rank, profession or occupation'), new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'), new CensusColumnNull($this, 'Infirm', 'Whether deaf-and-dumb, blind, imbecile, idiot or lunatic'), - ); + ]; } } diff --git a/app/Census/CensusOfEngland1881.php b/app/Census/CensusOfEngland1881.php index 5d418e33db..7c8d3095fa 100644 --- a/app/Census/CensusOfEngland1881.php +++ b/app/Census/CensusOfEngland1881.php @@ -34,7 +34,7 @@ class CensusOfEngland1881 extends CensusOfEngland implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Name', 'Name and surname'), new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'), new CensusColumnConditionEnglish($this, 'Condition', 'Condition'), @@ -43,6 +43,6 @@ class CensusOfEngland1881 extends CensusOfEngland implements CensusInterface { new CensusColumnOccupation($this, 'Occupation', 'Rank, profession or occupation'), new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'), new CensusColumnNull($this, 'Infirm', 'Whether deaf-and-dumb, blind, imbecile, idiot or lunatic'), - ); + ]; } } diff --git a/app/Census/CensusOfEngland1891.php b/app/Census/CensusOfEngland1891.php index b59e1a9969..cce1267573 100644 --- a/app/Census/CensusOfEngland1891.php +++ b/app/Census/CensusOfEngland1891.php @@ -34,7 +34,7 @@ class CensusOfEngland1891 extends CensusOfEngland implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Name', 'Name and surname'), new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'), new CensusColumnConditionEnglish($this, 'Condition', 'Condition'), @@ -46,6 +46,6 @@ class CensusOfEngland1891 extends CensusOfEngland implements CensusInterface { new CensusColumnNull($this, 'OAC', 'Own account'), new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'), new CensusColumnNull($this, 'Infirm', 'Whether deaf-and-dumb, blind, lunatic or imbecile'), - ); + ]; } } diff --git a/app/Census/CensusOfEngland1901.php b/app/Census/CensusOfEngland1901.php index bbaaf84ea6..5b0826ec54 100644 --- a/app/Census/CensusOfEngland1901.php +++ b/app/Census/CensusOfEngland1901.php @@ -34,7 +34,7 @@ class CensusOfEngland1901 extends CensusOfEngland implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Name', 'Name and surname'), new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'), new CensusColumnConditionEnglish($this, 'Condition', 'Condition'), @@ -45,6 +45,6 @@ class CensusOfEngland1901 extends CensusOfEngland implements CensusInterface { new CensusColumnNull($this, 'Home', 'Working at home'), new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'), new CensusColumnNull($this, 'Infirm', 'Whether deaf-and-dumb, blind, lunatic, imbecile, feeble-minded'), - ); + ]; } } diff --git a/app/Census/CensusOfEngland1911.php b/app/Census/CensusOfEngland1911.php index 11516061a2..3c7300e4bd 100644 --- a/app/Census/CensusOfEngland1911.php +++ b/app/Census/CensusOfEngland1911.php @@ -34,7 +34,7 @@ class CensusOfEngland1911 extends CensusOfEngland implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Name', 'Name and surname'), new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'), new CensusColumnAgeMale($this, 'AgeM', 'Age (males)'), @@ -51,6 +51,6 @@ class CensusOfEngland1911 extends CensusOfEngland implements CensusInterface { new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'), new CensusColumnNationality($this, 'Nat', 'Nationality'), new CensusColumnNull($this, 'Infirm', 'Infirmity'), - ); + ]; } } diff --git a/app/Census/CensusOfFrance.php b/app/Census/CensusOfFrance.php index a5ce68c98c..ee121884b6 100644 --- a/app/Census/CensusOfFrance.php +++ b/app/Census/CensusOfFrance.php @@ -25,7 +25,7 @@ class CensusOfFrance extends Census implements CensusPlaceInterface { * @return CensusInterface[] */ public function allCensusDates() { - return array( + return [ new CensusOfFrance1831(), new CensusOfFrance1836(), new CensusOfFrance1841(), @@ -48,7 +48,7 @@ class CensusOfFrance extends Census implements CensusPlaceInterface { new CensusOfFrance1931(), new CensusOfFrance1936(), new CensusOfFrance1946(), - ); + ]; } /** diff --git a/app/Census/CensusOfFrance1831.php b/app/Census/CensusOfFrance1831.php index 47152219e9..4009b56286 100644 --- a/app/Census/CensusOfFrance1831.php +++ b/app/Census/CensusOfFrance1831.php @@ -34,7 +34,7 @@ class CensusOfFrance1831 extends CensusOfFrance implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnSurname($this, 'Noms', 'Noms de famille'), new CensusColumnGivenNames($this, 'Prénoms', ''), new CensusColumnOccupation($this, 'Titres', 'Titres, qualifications, état ou profession et fonctions'), @@ -45,6 +45,6 @@ class CensusOfFrance1831 extends CensusOfFrance implements CensusInterface { new CensusColumnConditionFrenchFemme($this, 'Femmes', 'Femmes mariées'), new CensusColumnConditionFrenchVeuve($this, 'Veuves', ''), new CensusColumnAge($this, 'Âge', ''), - ); + ]; } } diff --git a/app/Census/CensusOfFrance1836.php b/app/Census/CensusOfFrance1836.php index 7d997666ee..1df55f2bfe 100644 --- a/app/Census/CensusOfFrance1836.php +++ b/app/Census/CensusOfFrance1836.php @@ -34,7 +34,7 @@ class CensusOfFrance1836 extends CensusOfFrance implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnSurname($this, 'Noms', 'Noms de famille'), new CensusColumnGivenNames($this, 'Prénoms', ''), new CensusColumnOccupation($this, 'Titres', 'Titres, qualifications, état ou profession et fonctions'), @@ -45,6 +45,6 @@ class CensusOfFrance1836 extends CensusOfFrance implements CensusInterface { new CensusColumnConditionFrenchFemme($this, 'Femmes', 'Femmes mariées'), new CensusColumnConditionFrenchVeuve($this, 'Veuves', ''), new CensusColumnAge($this, 'Âge', ''), - ); + ]; } } diff --git a/app/Census/CensusOfFrance1841.php b/app/Census/CensusOfFrance1841.php index 7006c202b8..ee313bd558 100644 --- a/app/Census/CensusOfFrance1841.php +++ b/app/Census/CensusOfFrance1841.php @@ -34,7 +34,7 @@ class CensusOfFrance1841 extends CensusOfFrance implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnSurname($this, 'Noms', 'Noms de famille'), new CensusColumnGivenNames($this, 'Prénoms', ''), new CensusColumnOccupation($this, 'Titres', 'Titres, qualifications, état ou profession et fonctions'), @@ -44,6 +44,6 @@ class CensusOfFrance1841 extends CensusOfFrance implements CensusInterface { new CensusColumnConditionFrenchFille($this, 'Filles', ''), new CensusColumnConditionFrenchFemme($this, 'Femmes', 'Femmes mariées'), new CensusColumnConditionFrenchVeuve($this, 'Veuves', ''), - ); + ]; } } diff --git a/app/Census/CensusOfFrance1846.php b/app/Census/CensusOfFrance1846.php index e44a0b4030..13dad849d3 100644 --- a/app/Census/CensusOfFrance1846.php +++ b/app/Census/CensusOfFrance1846.php @@ -34,7 +34,7 @@ class CensusOfFrance1846 extends CensusOfFrance implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnSurname($this, 'Noms', 'Noms de famille'), new CensusColumnGivenNames($this, 'Prénoms', ''), new CensusColumnOccupation($this, 'Titres', 'Titres, qualifications, état ou profession et fonctions'), @@ -45,6 +45,6 @@ class CensusOfFrance1846 extends CensusOfFrance implements CensusInterface { new CensusColumnConditionFrenchFemme($this, 'Femmes', 'Femmes mariées'), new CensusColumnConditionFrenchVeuve($this, 'Veuves', ''), new CensusColumnAge($this, 'Âge', ''), - ); + ]; } } diff --git a/app/Census/CensusOfFrance1851.php b/app/Census/CensusOfFrance1851.php index 7e722f99cc..168acaeed2 100644 --- a/app/Census/CensusOfFrance1851.php +++ b/app/Census/CensusOfFrance1851.php @@ -34,7 +34,7 @@ class CensusOfFrance1851 extends CensusOfFrance implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnSurname($this, 'Noms', 'Noms de famille'), new CensusColumnGivenNames($this, 'Prénoms', ''), new CensusColumnOccupation($this, 'Professions', ''), @@ -48,6 +48,6 @@ class CensusOfFrance1851 extends CensusOfFrance implements CensusInterface { new CensusColumnNull($this, 'Fr', 'Français d’origine'), new CensusColumnNull($this, 'Nat', 'Naturalisés français'), new CensusColumnNull($this, 'Etr', 'Étrangers (indiquer leur pays d’origine)'), - ); + ]; } } diff --git a/app/Census/CensusOfFrance1856.php b/app/Census/CensusOfFrance1856.php index ab9c92e186..abde705ee1 100644 --- a/app/Census/CensusOfFrance1856.php +++ b/app/Census/CensusOfFrance1856.php @@ -34,7 +34,7 @@ class CensusOfFrance1856 extends CensusOfFrance implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnSurname($this, 'Noms', 'Noms de famille'), new CensusColumnGivenNames($this, 'Prénoms', ''), new CensusColumnOccupation($this, 'Titres', 'Titres, qualifications, état ou profession et fonctions'), @@ -45,6 +45,6 @@ class CensusOfFrance1856 extends CensusOfFrance implements CensusInterface { new CensusColumnConditionFrenchFemme($this, 'Femmes', 'Femmes mariées'), new CensusColumnConditionFrenchVeuve($this, 'Veuves', ''), new CensusColumnAge($this, 'Âge', ''), - ); + ]; } } diff --git a/app/Census/CensusOfFrance1861.php b/app/Census/CensusOfFrance1861.php index e278cda8d5..8c3b82ed92 100644 --- a/app/Census/CensusOfFrance1861.php +++ b/app/Census/CensusOfFrance1861.php @@ -34,7 +34,7 @@ class CensusOfFrance1861 extends CensusOfFrance implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnSurname($this, 'Noms', 'Noms de famille'), new CensusColumnGivenNames($this, 'Prénoms', ''), new CensusColumnOccupation($this, 'Titres', 'Titres, qualifications, état ou profession et fonctions'), @@ -45,6 +45,6 @@ class CensusOfFrance1861 extends CensusOfFrance implements CensusInterface { new CensusColumnConditionFrenchFemme($this, 'Femmes', 'Femmes mariées'), new CensusColumnConditionFrenchVeuve($this, 'Veuves', ''), new CensusColumnAge($this, 'Âge', ''), - ); + ]; } } diff --git a/app/Census/CensusOfFrance1866.php b/app/Census/CensusOfFrance1866.php index 39a8856774..bc667a06f3 100644 --- a/app/Census/CensusOfFrance1866.php +++ b/app/Census/CensusOfFrance1866.php @@ -34,7 +34,7 @@ class CensusOfFrance1866 extends CensusOfFrance implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnSurname($this, 'Noms', 'Noms de famille'), new CensusColumnGivenNames($this, 'Prénoms', ''), new CensusColumnOccupation($this, 'Titres', 'Titres, qualifications, état ou profession et fonctions'), @@ -45,6 +45,6 @@ class CensusOfFrance1866 extends CensusOfFrance implements CensusInterface { new CensusColumnConditionFrenchFemme($this, 'Femmes', 'Femmes mariées'), new CensusColumnConditionFrenchVeuve($this, 'Veuves', ''), new CensusColumnAge($this, 'Âge', ''), - ); + ]; } } diff --git a/app/Census/CensusOfFrance1872.php b/app/Census/CensusOfFrance1872.php index 0672a72fc5..0b6d49daa0 100644 --- a/app/Census/CensusOfFrance1872.php +++ b/app/Census/CensusOfFrance1872.php @@ -34,7 +34,7 @@ class CensusOfFrance1872 extends CensusOfFrance implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnSurname($this, 'Noms', 'Noms de famille'), new CensusColumnGivenNames($this, 'Prénoms', ''), new CensusColumnOccupation($this, 'Titres', 'Titres, qualifications, état ou profession et fonctions'), @@ -46,6 +46,6 @@ class CensusOfFrance1872 extends CensusOfFrance implements CensusInterface { new CensusColumnConditionFrenchVeuve($this, 'Veuves', ''), new CensusColumnAge($this, 'Âge', ''), new CensusColumnBirthPlace($this, 'Nationalité', 'Nationalité - Lieu de naissance'), - ); + ]; } } diff --git a/app/Census/CensusOfFrance1876.php b/app/Census/CensusOfFrance1876.php index ba1495b2d6..29abe9bb69 100644 --- a/app/Census/CensusOfFrance1876.php +++ b/app/Census/CensusOfFrance1876.php @@ -34,7 +34,7 @@ class CensusOfFrance1876 extends CensusOfFrance implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnSurname($this, 'Noms', 'Noms de famille'), new CensusColumnGivenNames($this, 'Prénoms', ''), new CensusColumnOccupation($this, 'Titres', 'Titres, qualifications, état ou profession et fonctions'), @@ -46,6 +46,6 @@ class CensusOfFrance1876 extends CensusOfFrance implements CensusInterface { new CensusColumnConditionFrenchVeuve($this, 'Veuves', ''), new CensusColumnAge($this, 'Âge', ''), new CensusColumnBirthPlace($this, 'Nationalité', 'Nationalité - Lieu de naissance'), - ); + ]; } } diff --git a/app/Census/CensusOfFrance1881.php b/app/Census/CensusOfFrance1881.php index 2915177d11..686bc19540 100644 --- a/app/Census/CensusOfFrance1881.php +++ b/app/Census/CensusOfFrance1881.php @@ -34,12 +34,12 @@ class CensusOfFrance1881 extends CensusOfFrance implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnSurname($this, 'Noms', 'Noms de famille'), new CensusColumnGivenNames($this, 'Prénoms', ''), new CensusColumnAge($this, 'Âge', ''), new CensusColumnOccupation($this, 'Profession', ''), new CensusColumnRelationToHead($this, 'Position', 'Position dans le ménage'), - ); + ]; } } diff --git a/app/Census/CensusOfFrance1886.php b/app/Census/CensusOfFrance1886.php index ea9fdec4ef..5a147db024 100644 --- a/app/Census/CensusOfFrance1886.php +++ b/app/Census/CensusOfFrance1886.php @@ -34,13 +34,13 @@ class CensusOfFrance1886 extends CensusOfFrance implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnSurname($this, 'Noms', 'Noms de famille'), new CensusColumnGivenNames($this, 'Prénoms', ''), new CensusColumnAge($this, 'Âge', ''), new CensusColumnNationality($this, 'Nationalité', ''), new CensusColumnOccupation($this, 'Profession', ''), new CensusColumnRelationToHead($this, 'Position', 'Position dans le ménage'), - ); + ]; } } diff --git a/app/Census/CensusOfFrance1891.php b/app/Census/CensusOfFrance1891.php index eb9c55ce68..49cd415aa7 100644 --- a/app/Census/CensusOfFrance1891.php +++ b/app/Census/CensusOfFrance1891.php @@ -34,13 +34,13 @@ class CensusOfFrance1891 extends CensusOfFrance implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnSurname($this, 'Noms', 'Noms de famille'), new CensusColumnGivenNames($this, 'Prénoms', ''), new CensusColumnAge($this, 'Âge', ''), new CensusColumnNationality($this, 'Nationalité', ''), new CensusColumnOccupation($this, 'Profession', ''), new CensusColumnRelationToHead($this, 'Position', 'Position dans le ménage'), - ); + ]; } } diff --git a/app/Census/CensusOfFrance1896.php b/app/Census/CensusOfFrance1896.php index 0f4d97c0ab..1169a2d92f 100644 --- a/app/Census/CensusOfFrance1896.php +++ b/app/Census/CensusOfFrance1896.php @@ -34,13 +34,13 @@ class CensusOfFrance1896 extends CensusOfFrance implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnSurname($this, 'Noms', 'Noms de famille'), new CensusColumnGivenNames($this, 'Prénoms', ''), new CensusColumnAge($this, 'Âge', ''), new CensusColumnNationality($this, 'Nationalité', ''), new CensusColumnOccupation($this, 'Profession', ''), new CensusColumnRelationToHead($this, 'Position', 'Position dans le ménage'), - ); + ]; } } diff --git a/app/Census/CensusOfFrance1901.php b/app/Census/CensusOfFrance1901.php index 989f7be5a4..666355af78 100644 --- a/app/Census/CensusOfFrance1901.php +++ b/app/Census/CensusOfFrance1901.php @@ -34,7 +34,7 @@ class CensusOfFrance1901 extends CensusOfFrance implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnSurname($this, 'Noms', 'Noms de famille'), new CensusColumnGivenNames($this, 'Prénoms', ''), new CensusColumnAge($this, 'Âge', ''), @@ -43,6 +43,6 @@ class CensusOfFrance1901 extends CensusOfFrance implements CensusInterface { new CensusColumnOccupation($this, 'Profession', ''), new CensusColumnBirthPlace($this, 'Lieu', 'Lieu de naissance'), new CensusColumnNull($this, 'Empl', ''), - ); + ]; } } diff --git a/app/Census/CensusOfFrance1906.php b/app/Census/CensusOfFrance1906.php index 374c999ce9..dba5599e69 100644 --- a/app/Census/CensusOfFrance1906.php +++ b/app/Census/CensusOfFrance1906.php @@ -34,7 +34,7 @@ class CensusOfFrance1906 extends CensusOfFrance implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnSurname($this, 'Noms', 'Noms de famille'), new CensusColumnGivenNames($this, 'Prénoms', ''), new CensusColumnBirthYear($this, 'Année', 'Année de naissance'), @@ -43,6 +43,6 @@ class CensusOfFrance1906 extends CensusOfFrance implements CensusInterface { new CensusColumnRelationToHead($this, 'Situation', 'Situation par rapport au chef de ménage'), new CensusColumnOccupation($this, 'Profession', ''), new CensusColumnNull($this, 'Empl', ''), - ); + ]; } } diff --git a/app/Census/CensusOfFrance1911.php b/app/Census/CensusOfFrance1911.php index 5108964ae4..23cb8bd530 100644 --- a/app/Census/CensusOfFrance1911.php +++ b/app/Census/CensusOfFrance1911.php @@ -34,7 +34,7 @@ class CensusOfFrance1911 extends CensusOfFrance implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnSurname($this, 'Noms', 'Noms de famille'), new CensusColumnGivenNames($this, 'Prénoms', ''), new CensusColumnBirthYear($this, 'Année', 'Année de naissance'), @@ -43,6 +43,6 @@ class CensusOfFrance1911 extends CensusOfFrance implements CensusInterface { new CensusColumnRelationToHead($this, 'Situation', 'Situation par rapport au chef de ménage'), new CensusColumnOccupation($this, 'Profession', ''), new CensusColumnNull($this, 'Empl', ''), - ); + ]; } } diff --git a/app/Census/CensusOfFrance1921.php b/app/Census/CensusOfFrance1921.php index d9c6d294f5..880dc63bd1 100644 --- a/app/Census/CensusOfFrance1921.php +++ b/app/Census/CensusOfFrance1921.php @@ -34,7 +34,7 @@ class CensusOfFrance1921 extends CensusOfFrance implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnSurname($this, 'Noms', 'Noms de famille'), new CensusColumnGivenNames($this, 'Prénoms', ''), new CensusColumnBirthYear($this, 'Année', 'Année de naissance'), @@ -43,6 +43,6 @@ class CensusOfFrance1921 extends CensusOfFrance implements CensusInterface { new CensusColumnRelationToHead($this, 'Situation', 'Situation par rapport au chef de ménage'), new CensusColumnOccupation($this, 'Profession', ''), new CensusColumnNull($this, 'Empl', ''), - ); + ]; } } diff --git a/app/Census/CensusOfFrance1926.php b/app/Census/CensusOfFrance1926.php index 81bc5d6cba..9e7e50a1a8 100644 --- a/app/Census/CensusOfFrance1926.php +++ b/app/Census/CensusOfFrance1926.php @@ -34,7 +34,7 @@ class CensusOfFrance1926 extends CensusOfFrance implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnSurname($this, 'Noms', 'Noms de famille'), new CensusColumnGivenNames($this, 'Prénoms', ''), new CensusColumnBirthYear($this, 'Année', 'Année de naissance'), @@ -43,6 +43,6 @@ class CensusOfFrance1926 extends CensusOfFrance implements CensusInterface { new CensusColumnRelationToHead($this, 'Situation', 'Situation par rapport au chef de ménage'), new CensusColumnOccupation($this, 'Profession', ''), new CensusColumnNull($this, 'Empl', ''), - ); + ]; } } diff --git a/app/Census/CensusOfFrance1931.php b/app/Census/CensusOfFrance1931.php index 2c38dd741e..8beaa954db 100644 --- a/app/Census/CensusOfFrance1931.php +++ b/app/Census/CensusOfFrance1931.php @@ -34,7 +34,7 @@ class CensusOfFrance1931 extends CensusOfFrance implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnSurname($this, 'Noms', 'Noms de famille'), new CensusColumnGivenNames($this, 'Prénoms', ''), new CensusColumnBirthYear($this, 'Année', 'Année de naissance'), @@ -43,6 +43,6 @@ class CensusOfFrance1931 extends CensusOfFrance implements CensusInterface { new CensusColumnRelationToHead($this, 'Situation', 'Situation par rapport au chef de ménage'), new CensusColumnOccupation($this, 'Profession', ''), new CensusColumnNull($this, 'Empl', ''), - ); + ]; } } diff --git a/app/Census/CensusOfFrance1936.php b/app/Census/CensusOfFrance1936.php index b455e262e6..e54ebdd69e 100644 --- a/app/Census/CensusOfFrance1936.php +++ b/app/Census/CensusOfFrance1936.php @@ -34,7 +34,7 @@ class CensusOfFrance1936 extends CensusOfFrance implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnSurname($this, 'Noms', 'Noms de famille'), new CensusColumnGivenNames($this, 'Prénoms', ''), new CensusColumnBirthYear($this, 'Année', 'Année de naissance'), @@ -43,6 +43,6 @@ class CensusOfFrance1936 extends CensusOfFrance implements CensusInterface { new CensusColumnRelationToHead($this, 'Situation', 'Situation par rapport au chef de ménage'), new CensusColumnOccupation($this, 'Profession', ''), new CensusColumnNull($this, 'Empl', ''), - ); + ]; } } diff --git a/app/Census/CensusOfFrance1946.php b/app/Census/CensusOfFrance1946.php index afa9693139..75f671f776 100644 --- a/app/Census/CensusOfFrance1946.php +++ b/app/Census/CensusOfFrance1946.php @@ -34,13 +34,13 @@ class CensusOfFrance1946 extends CensusOfFrance implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnSurname($this, 'Nom', 'Nom de famille'), new CensusColumnGivenNames($this, 'Prénom', 'Prénom usuel'), new CensusColumnRelationToHead($this, 'Parenté', 'Parenté avec le chef de ménage ou situation dans le ménage'), new CensusColumnBirthYear($this, 'Année', 'Année de naissance'), new CensusColumnNationality($this, 'Nationalité', ''), new CensusColumnOccupation($this, 'Profession', ''), - ); + ]; } } diff --git a/app/Census/CensusOfScotland.php b/app/Census/CensusOfScotland.php index a18ac2c4b7..9f94f5dd58 100644 --- a/app/Census/CensusOfScotland.php +++ b/app/Census/CensusOfScotland.php @@ -25,7 +25,7 @@ class CensusOfScotland extends Census implements CensusPlaceInterface { * @return CensusInterface[] */ public function allCensusDates() { - return array( + return [ new CensusOfScotland1841(), new CensusOfScotland1851(), new CensusOfScotland1861(), @@ -34,7 +34,7 @@ class CensusOfScotland extends Census implements CensusPlaceInterface { new CensusOfScotland1891(), new CensusOfScotland1901(), new CensusOfScotland1911(), - ); + ]; } /** diff --git a/app/Census/CensusOfScotland1841.php b/app/Census/CensusOfScotland1841.php index 2e469e50c7..2fe6f8db7b 100644 --- a/app/Census/CensusOfScotland1841.php +++ b/app/Census/CensusOfScotland1841.php @@ -34,13 +34,13 @@ class CensusOfScotland1841 extends CensusOfScotland implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Name', 'Name'), new CensusColumnAgeMale5Years($this, 'AgeM', 'Age (males)'), new CensusColumnAgeFemale5Years($this, 'AgeF', 'Age (females)'), new CensusColumnOccupation($this, 'Occupation', 'Profession, trade, employment or of independent means'), new CensusColumnNull($this, 'BiC', 'Born in same county'), new CensusColumnBornForeignParts($this, 'EIF', 'Born in England, Ireland or foreign parts'), - ); + ]; } } diff --git a/app/Census/CensusOfScotland1851.php b/app/Census/CensusOfScotland1851.php index a0c2f24339..01bf7d2193 100644 --- a/app/Census/CensusOfScotland1851.php +++ b/app/Census/CensusOfScotland1851.php @@ -34,7 +34,7 @@ class CensusOfScotland1851 extends CensusOfScotland implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Name', 'Name and surname'), new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'), new CensusColumnConditionEnglish($this, 'Condition', 'Condition'), @@ -43,6 +43,6 @@ class CensusOfScotland1851 extends CensusOfScotland implements CensusInterface { new CensusColumnOccupation($this, 'Occupation', 'Rank, profession or occupation'), new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'), new CensusColumnNull($this, 'Infirm', 'Whether blind or deaf-and-dumb'), - ); + ]; } } diff --git a/app/Census/CensusOfScotland1861.php b/app/Census/CensusOfScotland1861.php index c942e60ee3..2b32382941 100644 --- a/app/Census/CensusOfScotland1861.php +++ b/app/Census/CensusOfScotland1861.php @@ -34,7 +34,7 @@ class CensusOfScotland1861 extends CensusOfScotland implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Name', 'Name and surname'), new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'), new CensusColumnConditionEnglish($this, 'Condition', 'Condition'), @@ -44,6 +44,6 @@ class CensusOfScotland1861 extends CensusOfScotland implements CensusInterface { new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'), new CensusColumnNull($this, 'Infirm', 'Whether blind or deaf-and-dumb'), new CensusColumnNull($this, 'School', 'Number of children between 5 and 13 attending school'), - ); + ]; } } diff --git a/app/Census/CensusOfScotland1871.php b/app/Census/CensusOfScotland1871.php index c562efab37..8282e2b58d 100644 --- a/app/Census/CensusOfScotland1871.php +++ b/app/Census/CensusOfScotland1871.php @@ -34,7 +34,7 @@ class CensusOfScotland1871 extends CensusOfScotland implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Name', 'Name and surname'), new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'), new CensusColumnConditionEnglish($this, 'Condition', 'Condition'), @@ -44,6 +44,6 @@ class CensusOfScotland1871 extends CensusOfScotland implements CensusInterface { new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'), new CensusColumnNull($this, 'Infirm', 'Whether deaf-and-dumb, blind, imbecile, idiot or lunatic'), new CensusColumnNull($this, 'School', 'Number of children between 5 and 13 attending school or educated at home'), - ); + ]; } } diff --git a/app/Census/CensusOfScotland1881.php b/app/Census/CensusOfScotland1881.php index 97b74b3f80..4902ebd475 100644 --- a/app/Census/CensusOfScotland1881.php +++ b/app/Census/CensusOfScotland1881.php @@ -34,7 +34,7 @@ class CensusOfScotland1881 extends CensusOfScotland implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Name', 'Name and surname'), new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'), new CensusColumnConditionEnglish($this, 'Condition', 'Condition'), @@ -43,6 +43,6 @@ class CensusOfScotland1881 extends CensusOfScotland implements CensusInterface { new CensusColumnOccupation($this, 'Occupation', 'Rank, profession or occupation'), new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'), new CensusColumnNull($this, 'Infirm', 'Whether deaf-and-dumb, blind, imbecile, idiot or lunatic'), - ); + ]; } } diff --git a/app/Census/CensusOfScotland1891.php b/app/Census/CensusOfScotland1891.php index 0df25fa02d..85e10075df 100644 --- a/app/Census/CensusOfScotland1891.php +++ b/app/Census/CensusOfScotland1891.php @@ -34,7 +34,7 @@ class CensusOfScotland1891 extends CensusOfScotland implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Name', 'Name and surname'), new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'), new CensusColumnConditionEnglish($this, 'Condition', 'Condition'), @@ -47,6 +47,6 @@ class CensusOfScotland1891 extends CensusOfScotland implements CensusInterface { new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'), new CensusColumnNull($this, 'Lang', 'Language spoken'), new CensusColumnNull($this, 'Infirm', 'Whether deaf-and-dumb, blind, lunatic or imbecile'), - ); + ]; } } diff --git a/app/Census/CensusOfScotland1901.php b/app/Census/CensusOfScotland1901.php index daa946e891..c23a1df156 100644 --- a/app/Census/CensusOfScotland1901.php +++ b/app/Census/CensusOfScotland1901.php @@ -34,7 +34,7 @@ class CensusOfScotland1901 extends CensusOfScotland implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Name', 'Name and surname'), new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'), new CensusColumnConditionEnglish($this, 'Condition', 'Condition'), @@ -46,6 +46,6 @@ class CensusOfScotland1901 extends CensusOfScotland implements CensusInterface { new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'), new CensusColumnNull($this, 'Lang', 'Language spoken'), new CensusColumnNull($this, 'Infirm', 'Whether deaf-and-dumb, blind, lunatic, imbecile, feeble-minded'), - ); + ]; } } diff --git a/app/Census/CensusOfScotland1911.php b/app/Census/CensusOfScotland1911.php index 56f6252bbb..e11435d51b 100644 --- a/app/Census/CensusOfScotland1911.php +++ b/app/Census/CensusOfScotland1911.php @@ -34,7 +34,7 @@ class CensusOfScotland1911 extends CensusOfScotland implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Name', 'Name and surname'), new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'), new CensusColumnAgeMale($this, 'AgeM', 'Age (males)'), @@ -52,6 +52,6 @@ class CensusOfScotland1911 extends CensusOfScotland implements CensusInterface { new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'), new CensusColumnNationality($this, 'Nat', 'Nationality'), new CensusColumnNull($this, 'Infirm', 'Infirmity'), - ); + ]; } } diff --git a/app/Census/CensusOfUnitedStates.php b/app/Census/CensusOfUnitedStates.php index e91349a0c5..f77c919e49 100644 --- a/app/Census/CensusOfUnitedStates.php +++ b/app/Census/CensusOfUnitedStates.php @@ -25,7 +25,7 @@ class CensusOfUnitedStates extends Census implements CensusPlaceInterface { * @return CensusInterface[] */ public function allCensusDates() { - return array( + return [ new CensusOfUnitedStates1790(), new CensusOfUnitedStates1800(), new CensusOfUnitedStates1810(), @@ -42,7 +42,7 @@ class CensusOfUnitedStates extends Census implements CensusPlaceInterface { new CensusOfUnitedStates1920(), new CensusOfUnitedStates1930(), new CensusOfUnitedStates1940(), - ); + ]; } /** diff --git a/app/Census/CensusOfUnitedStates1790.php b/app/Census/CensusOfUnitedStates1790.php index dacb97eccc..6ab3951160 100644 --- a/app/Census/CensusOfUnitedStates1790.php +++ b/app/Census/CensusOfUnitedStates1790.php @@ -34,7 +34,7 @@ class CensusOfUnitedStates1790 extends CensusOfUnitedStates implements CensusInt * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Name', 'Name of head of family'), new CensusColumnOccupation($this, 'Occupation', 'Professions and occupation'), new CensusColumnNull($this, 'White male 16+', 'White male of 16 yrs upward'), @@ -43,6 +43,6 @@ class CensusOfUnitedStates1790 extends CensusOfUnitedStates implements CensusInt new CensusColumnNull($this, 'Free', 'All other free persons'), new CensusColumnNull($this, 'Slaves', 'Number of slaves'), new CensusColumnNull($this, 'Total', 'Total'), - ); + ]; } } diff --git a/app/Census/CensusOfUnitedStates1800.php b/app/Census/CensusOfUnitedStates1800.php index fba87aab49..a70e7d61ef 100644 --- a/app/Census/CensusOfUnitedStates1800.php +++ b/app/Census/CensusOfUnitedStates1800.php @@ -34,7 +34,7 @@ class CensusOfUnitedStates1800 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-10', 'Free white males 0-10 years'), new CensusColumnNull($this, 'M10-16', 'Free white males 10-16 years'), @@ -50,6 +50,6 @@ class CensusOfUnitedStates1800 extends CensusOfUnitedStates implements CensusInt new CensusColumnNull($this, 'Slaves', 'Number of slaves'), new CensusColumnNull($this, 'Total', 'Total number of individuals'), - ); + ]; } } diff --git a/app/Census/CensusOfUnitedStates1810.php b/app/Census/CensusOfUnitedStates1810.php index 45336c80dd..f0e32ebdb9 100644 --- a/app/Census/CensusOfUnitedStates1810.php +++ b/app/Census/CensusOfUnitedStates1810.php @@ -34,7 +34,7 @@ class CensusOfUnitedStates1810 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-10', 'Free white males 0-10 years'), new CensusColumnNull($this, 'M10-16', 'Free white males 10-16 years'), @@ -50,6 +50,6 @@ class CensusOfUnitedStates1810 extends CensusOfUnitedStates implements CensusInt new CensusColumnNull($this, 'Slaves', 'Number of slaves'), new CensusColumnNull($this, 'Total', 'Total number of individuals'), - ); + ]; } } diff --git a/app/Census/CensusOfUnitedStates1820.php b/app/Census/CensusOfUnitedStates1820.php index 37dc3efea5..54aa12d898 100644 --- a/app/Census/CensusOfUnitedStates1820.php +++ b/app/Census/CensusOfUnitedStates1820.php @@ -35,7 +35,7 @@ class CensusOfUnitedStates1820 extends CensusOfUnitedStates implements CensusInt */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Name', 'Name of head of family'), new CensusColumnNull($this, 'M0-10', 'Free white males 0-10 years'), new CensusColumnNull($this, 'M10-16', 'Free white males 10-16 years'), @@ -68,6 +68,6 @@ class CensusOfUnitedStates1820 extends CensusOfUnitedStates implements CensusInt new CensusColumnNull($this, 'F14', 'Free colored females 14-26 years'), new CensusColumnNull($this, 'F26', 'Free colored females 26-45 years'), new CensusColumnNull($this, 'F45', 'Free colored females 45+ years'), - ); + ]; } } diff --git a/app/Census/CensusOfUnitedStates1830.php b/app/Census/CensusOfUnitedStates1830.php index 52db5ecb0d..bd033a9b72 100644 --- a/app/Census/CensusOfUnitedStates1830.php +++ b/app/Census/CensusOfUnitedStates1830.php @@ -34,7 +34,7 @@ class CensusOfUnitedStates1830 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'), new CensusColumnNull($this, 'M5', 'Free white males 5-10 years'), @@ -86,6 +86,6 @@ class CensusOfUnitedStates1830 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'), - ); + ]; } } 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'), - ); + ]; } } 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'), - ); + ]; } } diff --git a/app/Census/CensusOfUnitedStates1860.php b/app/Census/CensusOfUnitedStates1860.php index ad476f3f9a..14507b4c04 100644 --- a/app/Census/CensusOfUnitedStates1860.php +++ b/app/Census/CensusOfUnitedStates1860.php @@ -34,7 +34,7 @@ class CensusOfUnitedStates1860 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'), @@ -47,6 +47,6 @@ class CensusOfUnitedStates1860 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'), - ); + ]; } } diff --git a/app/Census/CensusOfUnitedStates1870.php b/app/Census/CensusOfUnitedStates1870.php index d69de2e20d..6f4c716860 100644 --- a/app/Census/CensusOfUnitedStates1870.php +++ b/app/Census/CensusOfUnitedStates1870.php @@ -34,7 +34,7 @@ class CensusOfUnitedStates1870 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'), @@ -53,6 +53,6 @@ class CensusOfUnitedStates1870 extends CensusOfUnitedStates implements CensusInt new CensusColumnNull($this, 'Infirm', 'Whether deaf and dumb, blind, insane, or idiotic'), new CensusColumnNull($this, 'Cit', 'Male citizen of US'), new CensusColumnNull($this, 'Dis', 'Male citizen of US, where right to vote is denied or abridged'), - ); + ]; } } diff --git a/app/Census/CensusOfUnitedStates1880.php b/app/Census/CensusOfUnitedStates1880.php index 003e9ecc98..097501c2d7 100644 --- a/app/Census/CensusOfUnitedStates1880.php +++ b/app/Census/CensusOfUnitedStates1880.php @@ -34,7 +34,7 @@ class CensusOfUnitedStates1880 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'), @@ -58,6 +58,6 @@ class CensusOfUnitedStates1880 extends CensusOfUnitedStates implements CensusInt new CensusColumnBirthPlaceSimple($this, 'BP', 'Place of birth, naming the state, territory, or country'), new CensusColumnFatherBirthPlaceSimple($this, 'FBP', 'Place of birth of father, naming the state, territory, or country'), new CensusColumnMotherBirthPlaceSimple($this, 'MBP', 'Place of birth of mother, naming the state, territory, or country'), - ); + ]; } } 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'), - ); + ]; } } diff --git a/app/Census/CensusOfUnitedStates1900.php b/app/Census/CensusOfUnitedStates1900.php index 6af9544065..b1bdd5fa69 100644 --- a/app/Census/CensusOfUnitedStates1900.php +++ b/app/Census/CensusOfUnitedStates1900.php @@ -34,7 +34,7 @@ class CensusOfUnitedStates1900 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, 'Race', 'Color or race'), @@ -61,6 +61,6 @@ class CensusOfUnitedStates1900 extends CensusOfUnitedStates implements CensusInt new CensusColumnNull($this, 'Home', 'Owned or rented'), new CensusColumnNull($this, 'Mort', 'Owned free or mortgaged'), new CensusColumnNull($this, 'Farm', 'Farm or house'), - ); + ]; } } diff --git a/app/Census/CensusOfUnitedStates1910.php b/app/Census/CensusOfUnitedStates1910.php index 779b2090aa..28cab07c79 100644 --- a/app/Census/CensusOfUnitedStates1910.php +++ b/app/Census/CensusOfUnitedStates1910.php @@ -34,7 +34,7 @@ class CensusOfUnitedStates1910 extends CensusOfUnitedStates implements CensusInt * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnSurnameGivenNameInitial($this, 'Name', 'Name'), new CensusColumnRelationToHead($this, 'Relation', 'Relationship of each person to the head of the family'), new CensusColumnSexMF($this, 'Sex', 'Sex'), @@ -64,6 +64,6 @@ class CensusOfUnitedStates1910 extends CensusOfUnitedStates implements CensusInt new CensusColumnNull($this, 'CW', 'Whether a survivor of the Union or Confederate Army or Navy'), new CensusColumnNull($this, 'Blind', 'Whether blind (both eyes)'), new CensusColumnNull($this, 'Deaf', 'Whether deaf and dumb'), - ); + ]; } } diff --git a/app/Census/CensusOfUnitedStates1920.php b/app/Census/CensusOfUnitedStates1920.php index 5db1f9f5a2..63e279cc55 100644 --- a/app/Census/CensusOfUnitedStates1920.php +++ b/app/Census/CensusOfUnitedStates1920.php @@ -34,7 +34,7 @@ class CensusOfUnitedStates1920 extends CensusOfUnitedStates implements CensusInt * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnSurnameGivenNameInitial($this, 'Name', 'Name'), new CensusColumnRelationToHead($this, 'Relation', 'Relationship of each person to the head of the family'), new CensusColumnNull($this, 'Home', 'Owned or rented'), @@ -59,6 +59,6 @@ class CensusOfUnitedStates1920 extends CensusOfUnitedStates implements CensusInt new CensusColumnOccupation($this, 'Occupation', 'Trade, profession, or particular kind of work done'), new CensusColumnNull($this, 'Ind', 'Industry, business of establishment in which at work'), new CensusColumnNull($this, 'Emp', 'Employer, salary or wage worker, or work on own account'), - ); + ]; } } diff --git a/app/Census/CensusOfUnitedStates1930.php b/app/Census/CensusOfUnitedStates1930.php index a836a840a5..4c906e4e55 100644 --- a/app/Census/CensusOfUnitedStates1930.php +++ b/app/Census/CensusOfUnitedStates1930.php @@ -34,7 +34,7 @@ class CensusOfUnitedStates1930 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'), @@ -63,6 +63,6 @@ class CensusOfUnitedStates1930 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 …'), - ); + ]; } } 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 …'), - ); + ]; } } diff --git a/app/Census/CensusOfWales.php b/app/Census/CensusOfWales.php index 90aa4cb7bb..da2e256ea6 100644 --- a/app/Census/CensusOfWales.php +++ b/app/Census/CensusOfWales.php @@ -25,7 +25,7 @@ class CensusOfWales extends Census implements CensusPlaceInterface { * @return CensusInterface[] */ public function allCensusDates() { - return array( + return [ new CensusOfWales1841(), new CensusOfWales1851(), new CensusOfWales1861(), @@ -35,7 +35,7 @@ class CensusOfWales extends Census implements CensusPlaceInterface { new CensusOfWales1901(), new CensusOfWales1911(), new RegisterOfWales1939(), - ); + ]; } /** diff --git a/app/Census/CensusOfWales1841.php b/app/Census/CensusOfWales1841.php index 8f1d5c4090..c694dbbcc4 100644 --- a/app/Census/CensusOfWales1841.php +++ b/app/Census/CensusOfWales1841.php @@ -34,13 +34,13 @@ class CensusOfWales1841 extends CensusOfWales implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Name', 'Name'), new CensusColumnAgeMale5Years($this, 'AgeM', 'Age (males)'), new CensusColumnAgeFemale5Years($this, 'AgeF', 'Age (females)'), new CensusColumnOccupation($this, 'Occupation', 'Profession, trade, employment or of independent means'), new CensusColumnNull($this, 'BiC', 'Born in same county'), new CensusColumnBornForeignParts($this, 'SIF', 'Born in Scotland, Ireland or foreign parts'), - ); + ]; } } diff --git a/app/Census/CensusOfWales1851.php b/app/Census/CensusOfWales1851.php index 79c41a942b..2244503787 100644 --- a/app/Census/CensusOfWales1851.php +++ b/app/Census/CensusOfWales1851.php @@ -34,7 +34,7 @@ class CensusOfWales1851 extends CensusOfWales implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Name', 'Name and surname'), new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'), new CensusColumnConditionEnglish($this, 'Condition', 'Condition'), @@ -43,6 +43,6 @@ class CensusOfWales1851 extends CensusOfWales implements CensusInterface { new CensusColumnOccupation($this, 'Occupation', 'Rank, profession or occupation'), new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'), new CensusColumnNull($this, 'Infirm', 'Whether blind or deaf-and-dumb'), - ); + ]; } } diff --git a/app/Census/CensusOfWales1861.php b/app/Census/CensusOfWales1861.php index c5c4bc4b15..fb9c3a9f03 100644 --- a/app/Census/CensusOfWales1861.php +++ b/app/Census/CensusOfWales1861.php @@ -34,7 +34,7 @@ class CensusOfWales1861 extends CensusOfWales implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Name', 'Name and surname'), new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'), new CensusColumnConditionEnglish($this, 'Condition', 'Condition'), @@ -43,6 +43,6 @@ class CensusOfWales1861 extends CensusOfWales implements CensusInterface { new CensusColumnOccupation($this, 'Occupation', 'Rank, profession or occupation'), new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'), new CensusColumnNull($this, 'Infirm', 'Whether blind or deaf-and-dumb'), - ); + ]; } } diff --git a/app/Census/CensusOfWales1871.php b/app/Census/CensusOfWales1871.php index fc2ce9e4d8..7a6e348226 100644 --- a/app/Census/CensusOfWales1871.php +++ b/app/Census/CensusOfWales1871.php @@ -34,7 +34,7 @@ class CensusOfWales1871 extends CensusOfWales implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Name', 'Name and surname'), new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'), new CensusColumnConditionEnglish($this, 'Condition', 'Condition'), @@ -43,6 +43,6 @@ class CensusOfWales1871 extends CensusOfWales implements CensusInterface { new CensusColumnOccupation($this, 'Occupation', 'Rank, profession or occupation'), new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'), new CensusColumnNull($this, 'Infirm', 'Whether deaf-and-dumb, blind, imbecile, idiot or lunatic'), - ); + ]; } } diff --git a/app/Census/CensusOfWales1881.php b/app/Census/CensusOfWales1881.php index b4fe9586a5..239e264856 100644 --- a/app/Census/CensusOfWales1881.php +++ b/app/Census/CensusOfWales1881.php @@ -34,7 +34,7 @@ class CensusOfWales1881 extends CensusOfWales implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Name', 'Name and surname'), new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'), new CensusColumnConditionEnglish($this, 'Condition', 'Condition'), @@ -43,6 +43,6 @@ class CensusOfWales1881 extends CensusOfWales implements CensusInterface { new CensusColumnOccupation($this, 'Occupation', 'Rank, profession or occupation'), new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'), new CensusColumnNull($this, 'Infirm', 'Whether deaf-and-dumb, blind, imbecile, idiot or lunatic'), - ); + ]; } } diff --git a/app/Census/CensusOfWales1891.php b/app/Census/CensusOfWales1891.php index 267bf88859..3b2daa1406 100644 --- a/app/Census/CensusOfWales1891.php +++ b/app/Census/CensusOfWales1891.php @@ -34,7 +34,7 @@ class CensusOfWales1891 extends CensusOfWales implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Name', 'Name and surname'), new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'), new CensusColumnConditionEnglish($this, 'Condition', 'Condition'), @@ -46,6 +46,6 @@ class CensusOfWales1891 extends CensusOfWales implements CensusInterface { new CensusColumnNull($this, 'OAC', 'Own account'), new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'), new CensusColumnNull($this, 'Infirm', 'Whether deaf-and-dumb, blind, lunatic or imbecile'), - ); + ]; } } diff --git a/app/Census/CensusOfWales1901.php b/app/Census/CensusOfWales1901.php index 896cebf967..ae6c9a9248 100644 --- a/app/Census/CensusOfWales1901.php +++ b/app/Census/CensusOfWales1901.php @@ -34,7 +34,7 @@ class CensusOfWales1901 extends CensusOfWales implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Name', 'Name and surname'), new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'), new CensusColumnConditionEnglish($this, 'Condition', 'Condition'), @@ -46,6 +46,6 @@ class CensusOfWales1901 extends CensusOfWales implements CensusInterface { new CensusColumnBirthPlace($this, 'Birthplace', 'Where born'), new CensusColumnNull($this, 'Infirm', 'Whether deaf-and-dumb, blind, lunatic, imbecile, feeble-minded'), new CensusColumnNull($this, 'Lang', 'Language spoken'), - ); + ]; } } diff --git a/app/Census/CensusOfWales1911.php b/app/Census/CensusOfWales1911.php index 431978341f..ecb0fded99 100644 --- a/app/Census/CensusOfWales1911.php +++ b/app/Census/CensusOfWales1911.php @@ -34,7 +34,7 @@ class CensusOfWales1911 extends CensusOfWales implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnFullName($this, 'Name', 'Name and surname'), new CensusColumnRelationToHead($this, 'Relation', 'Relation to head of household'), new CensusColumnAgeMale($this, 'AgeM', 'Age (males)'), @@ -52,6 +52,6 @@ class CensusOfWales1911 extends CensusOfWales implements CensusInterface { new CensusColumnNationality($this, 'Nat', 'Nationality'), new CensusColumnNull($this, 'Infirm', 'Infirmity'), new CensusColumnNull($this, 'Lang', 'Language spoken'), - ); + ]; } } diff --git a/app/Census/RegisterOfEngland1939.php b/app/Census/RegisterOfEngland1939.php index 578c993f13..07a6153eb2 100644 --- a/app/Census/RegisterOfEngland1939.php +++ b/app/Census/RegisterOfEngland1939.php @@ -34,7 +34,7 @@ class RegisterOfEngland1939 extends CensusOfEngland implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnNull($this, 'Schedule', 'Schedule Number'), new CensusColumnNull($this, 'SubNum', 'Schedule Sub Number'), new CensusColumnSurnameGivenNames($this, 'Name', 'Surname & other names'), @@ -43,6 +43,6 @@ class RegisterOfEngland1939 extends CensusOfEngland implements CensusInterface { new CensusColumnBirthDayMonthSlashYear($this, 'DOB', 'Date of birth'), new CensusColumnConditionEnglish($this, 'MC', 'Marital Condition - Married, Single, Unmarried, Widowed or Divorced'), new CensusColumnOccupation($this, 'Occupation', 'Occupation'), - ); + ]; } } diff --git a/app/Census/RegisterOfWales1939.php b/app/Census/RegisterOfWales1939.php index 8152ec78f7..f341948e7f 100644 --- a/app/Census/RegisterOfWales1939.php +++ b/app/Census/RegisterOfWales1939.php @@ -34,7 +34,7 @@ class RegisterOfWales1939 extends CensusOfWales implements CensusInterface { * @return CensusColumnInterface[] */ public function columns() { - return array( + return [ new CensusColumnNull($this, 'Schedule', 'Schedule Number'), new CensusColumnNull($this, 'SubNum', 'Schedule Sub Number'), new CensusColumnSurnameGivenNames($this, 'Name', 'Surname & other names'), @@ -43,6 +43,6 @@ class RegisterOfWales1939 extends CensusOfWales implements CensusInterface { new CensusColumnBirthDayMonthSlashYear($this, 'DOB', 'Date of birth'), new CensusColumnConditionEnglish($this, 'MC', 'Marital Condition - Married, Single, Unmarried, Widowed or Divorced'), new CensusColumnOccupation($this, 'Occupation', 'Occupation'), - ); + ]; } } |
