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/CensusOfUnitedStates1860.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/CensusOfUnitedStates1860.php')
| -rw-r--r-- | app/Census/CensusOfUnitedStates1860.php | 63 |
1 files changed, 33 insertions, 30 deletions
diff --git a/app/Census/CensusOfUnitedStates1860.php b/app/Census/CensusOfUnitedStates1860.php index 096d0db895..2405674fc4 100644 --- a/app/Census/CensusOfUnitedStates1860.php +++ b/app/Census/CensusOfUnitedStates1860.php @@ -19,35 +19,38 @@ namespace Fisharebest\Webtrees\Census; /** * Definitions for a census */ -class CensusOfUnitedStates1860 extends CensusOfUnitedStates implements CensusInterface { - /** - * When did this census occur. - * - * @return string - */ - public function censusDate() { - return 'BET JUN 1860 AND OCT 1860'; - } +class CensusOfUnitedStates1860 extends CensusOfUnitedStates implements CensusInterface +{ + /** + * When did this census occur. + * + * @return string + */ + public function censusDate() + { + return 'BET JUN 1860 AND OCT 1860'; + } - /** - * The columns of the census. - * - * @return CensusColumnInterface[] - */ - public function columns() { - return [ - new CensusColumnFullName($this, 'Name', 'Name'), - new CensusColumnAge($this, 'Age', 'Age'), - new CensusColumnSexMF($this, 'Sex', 'Sex'), - new CensusColumnNull($this, 'Color', 'White, black, or mulatto'), - new CensusColumnOccupation($this, 'Occupation', 'Profession, occupation, or trade'), - new CensusColumnNull($this, 'RE', 'Value of real estate owned'), - new CensusColumnNull($this, 'PE', 'Value of personal estate owned'), - new CensusColumnBirthPlaceSimple($this, 'Birthplace', 'Place of birth, naming the state, territory, or country'), - new CensusColumnMarriedWithinYear($this, 'Mar', 'Married within the year'), - 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'), - ]; - } + /** + * The columns of the census. + * + * @return CensusColumnInterface[] + */ + public function columns() + { + return [ + new CensusColumnFullName($this, 'Name', 'Name'), + new CensusColumnAge($this, 'Age', 'Age'), + new CensusColumnSexMF($this, 'Sex', 'Sex'), + new CensusColumnNull($this, 'Color', 'White, black, or mulatto'), + new CensusColumnOccupation($this, 'Occupation', 'Profession, occupation, or trade'), + new CensusColumnNull($this, 'RE', 'Value of real estate owned'), + new CensusColumnNull($this, 'PE', 'Value of personal estate owned'), + new CensusColumnBirthPlaceSimple($this, 'Birthplace', 'Place of birth, naming the state, territory, or country'), + new CensusColumnMarriedWithinYear($this, 'Mar', 'Married within the year'), + 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'), + ]; + } } |
