diff options
Diffstat (limited to 'app/Census/RegisterOfEngland1939.php')
| -rw-r--r-- | app/Census/RegisterOfEngland1939.php | 55 |
1 files changed, 29 insertions, 26 deletions
diff --git a/app/Census/RegisterOfEngland1939.php b/app/Census/RegisterOfEngland1939.php index 723cca3015..435415b883 100644 --- a/app/Census/RegisterOfEngland1939.php +++ b/app/Census/RegisterOfEngland1939.php @@ -19,31 +19,34 @@ namespace Fisharebest\Webtrees\Census; /** * Definitions for a census */ -class RegisterOfEngland1939 extends CensusOfEngland implements CensusInterface { - /** - * When did this census occur. - * - * @return string - */ - public function censusDate() { - return '29 SEP 1939'; - } +class RegisterOfEngland1939 extends CensusOfEngland implements CensusInterface +{ + /** + * When did this census occur. + * + * @return string + */ + public function censusDate() + { + return '29 SEP 1939'; + } - /** - * The columns of the census. - * - * @return CensusColumnInterface[] - */ - public function columns() { - return [ - new CensusColumnNull($this, 'Schedule', 'Schedule Number'), - new CensusColumnNull($this, 'SubNum', 'Schedule Sub Number'), - new CensusColumnSurnameGivenNames($this, 'Name', 'Surname & other names'), - new CensusColumnNull($this, 'Role', 'For institutions only – for example, Officer, Visitor, Servant, Patient, Inmate'), - new CensusColumnSexMF($this, 'Sex', 'Male or Female'), - new CensusColumnBirthDayMonthSlashYear($this, 'DOB', 'Date of birth'), - new CensusColumnConditionEnglish($this, 'MC', 'Marital Condition - Married, Single, Unmarried, Widowed or Divorced'), - new CensusColumnOccupation($this, 'Occupation', 'Occupation'), - ]; - } + /** + * The columns of the census. + * + * @return CensusColumnInterface[] + */ + public function columns() + { + return [ + new CensusColumnNull($this, 'Schedule', 'Schedule Number'), + new CensusColumnNull($this, 'SubNum', 'Schedule Sub Number'), + new CensusColumnSurnameGivenNames($this, 'Name', 'Surname & other names'), + new CensusColumnNull($this, 'Role', 'For institutions only – for example, Officer, Visitor, Servant, Patient, Inmate'), + new CensusColumnSexMF($this, 'Sex', 'Male or Female'), + new CensusColumnBirthDayMonthSlashYear($this, 'DOB', 'Date of birth'), + new CensusColumnConditionEnglish($this, 'MC', 'Marital Condition - Married, Single, Unmarried, Widowed or Divorced'), + new CensusColumnOccupation($this, 'Occupation', 'Occupation'), + ]; + } } |
