diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2018-07-16 08:20:33 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2018-07-16 08:20:33 +0100 |
| commit | c1010eda29c0909ed4d5d463f32d32bfefdd4dfe (patch) | |
| tree | fbb656ebc014aa1295ac8e6176f41e89f94b91e7 /app/Census/RegisterOfWales1939.php | |
| parent | 782f08d9bd2bfa06635da947ee34f8e1afd65088 (diff) | |
| download | webtrees-c1010eda29c0909ed4d5d463f32d32bfefdd4dfe.tar.gz webtrees-c1010eda29c0909ed4d5d463f32d32bfefdd4dfe.tar.bz2 webtrees-c1010eda29c0909ed4d5d463f32d32bfefdd4dfe.zip | |
Use PSR2 code style
Diffstat (limited to 'app/Census/RegisterOfWales1939.php')
| -rw-r--r-- | app/Census/RegisterOfWales1939.php | 55 |
1 files changed, 29 insertions, 26 deletions
diff --git a/app/Census/RegisterOfWales1939.php b/app/Census/RegisterOfWales1939.php index ade29ac85d..d747d02415 100644 --- a/app/Census/RegisterOfWales1939.php +++ b/app/Census/RegisterOfWales1939.php @@ -19,31 +19,34 @@ namespace Fisharebest\Webtrees\Census; /** * Definitions for a census */ -class RegisterOfWales1939 extends CensusOfWales implements CensusInterface { - /** - * When did this census occur. - * - * @return string - */ - public function censusDate() { - return '29 SEP 1939'; - } +class RegisterOfWales1939 extends CensusOfWales 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'), + ]; + } } |
