From c1010eda29c0909ed4d5d463f32d32bfefdd4dfe Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Mon, 16 Jul 2018 08:20:33 +0100 Subject: Use PSR2 code style --- app/Census/RegisterOfWales1939.php | 55 ++++++++++++++++++++------------------ 1 file changed, 29 insertions(+), 26 deletions(-) (limited to 'app/Census/RegisterOfWales1939.php') 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'), + ]; + } } -- cgit v1.3