diff options
Diffstat (limited to 'app/Census/CensusOfScotland1841.php')
| -rw-r--r-- | app/Census/CensusOfScotland1841.php | 51 |
1 files changed, 27 insertions, 24 deletions
diff --git a/app/Census/CensusOfScotland1841.php b/app/Census/CensusOfScotland1841.php index c0fb28ee1f..76a1fca9e7 100644 --- a/app/Census/CensusOfScotland1841.php +++ b/app/Census/CensusOfScotland1841.php @@ -19,29 +19,32 @@ namespace Fisharebest\Webtrees\Census; /** * Definitions for a census */ -class CensusOfScotland1841 extends CensusOfScotland implements CensusInterface { - /** - * When did this census occur. - * - * @return string - */ - public function censusDate() { - return '06 JUN 1841'; - } +class CensusOfScotland1841 extends CensusOfScotland implements CensusInterface +{ + /** + * When did this census occur. + * + * @return string + */ + public function censusDate() + { + return '06 JUN 1841'; + } - /** - * The columns of the census. - * - * @return CensusColumnInterface[] - */ - public function columns() { - 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'), - ]; - } + /** + * The columns of the census. + * + * @return CensusColumnInterface[] + */ + public function columns() + { + 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'), + ]; + } } |
