summaryrefslogtreecommitdiff
path: root/app/Census
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2017-03-07 12:02:25 +0000
committerGreg Roach <fisharebest@gmail.com>2017-06-17 16:17:44 +0100
commit15d603e7c7c15d20f055d3d9c38d6b133453c5be (patch)
tree14cd348cd8d2cbb465626429334a9558c0bf5a43 /app/Census
parent95664b44addad5559917902d85518988a3ea7bc4 (diff)
downloadwebtrees-15d603e7c7c15d20f055d3d9c38d6b133453c5be.tar.gz
webtrees-15d603e7c7c15d20f055d3d9c38d6b133453c5be.tar.bz2
webtrees-15d603e7c7c15d20f055d3d9c38d6b133453c5be.zip
jQuery-3, Bootstrap-4, FontAwesome-4.7, Select2-4, remove popup windows
Diffstat (limited to 'app/Census')
-rw-r--r--app/Census/AbstractCensusColumn.php101
-rw-r--r--app/Census/AbstractCensusColumnCondition.php79
-rw-r--r--app/Census/Census.php1
-rw-r--r--app/Census/CensusColumnAge.php7
-rw-r--r--app/Census/CensusColumnAgeFemale.php7
-rw-r--r--app/Census/CensusColumnAgeFemale5Years.php7
-rw-r--r--app/Census/CensusColumnAgeMale.php7
-rw-r--r--app/Census/CensusColumnAgeMale5Years.php7
-rw-r--r--app/Census/CensusColumnAgeMarried.php5
-rw-r--r--app/Census/CensusColumnBirthDate.php5
-rw-r--r--app/Census/CensusColumnBirthDay.php5
-rw-r--r--app/Census/CensusColumnBirthDayDotMonthYear.php5
-rw-r--r--app/Census/CensusColumnBirthDayMonthSlashYear.php5
-rw-r--r--app/Census/CensusColumnBirthDaySlashMonth.php5
-rw-r--r--app/Census/CensusColumnBirthDaySlashMonthYear.php5
-rw-r--r--app/Census/CensusColumnBirthMonth.php5
-rw-r--r--app/Census/CensusColumnBirthPlace.php5
-rw-r--r--app/Census/CensusColumnBirthPlaceSimple.php5
-rw-r--r--app/Census/CensusColumnBirthYear.php5
-rw-r--r--app/Census/CensusColumnBornForeignParts.php5
-rw-r--r--app/Census/CensusColumnChildrenBornAlive.php7
-rw-r--r--app/Census/CensusColumnChildrenDied.php7
-rw-r--r--app/Census/CensusColumnChildrenLiving.php7
-rw-r--r--app/Census/CensusColumnConditionDanish.php1
-rw-r--r--app/Census/CensusColumnConditionEnglish.php1
-rw-r--r--app/Census/CensusColumnConditionFrenchFemme.php1
-rw-r--r--app/Census/CensusColumnConditionFrenchFille.php1
-rw-r--r--app/Census/CensusColumnConditionFrenchGarcon.php1
-rw-r--r--app/Census/CensusColumnConditionFrenchHomme.php1
-rw-r--r--app/Census/CensusColumnConditionFrenchVeuf.php1
-rw-r--r--app/Census/CensusColumnConditionFrenchVeuve.php1
-rw-r--r--app/Census/CensusColumnConditionUs.php1
-rw-r--r--app/Census/CensusColumnFatherBirthPlace.php5
-rw-r--r--app/Census/CensusColumnFatherBirthPlaceSimple.php5
-rw-r--r--app/Census/CensusColumnFatherForeign.php5
-rw-r--r--app/Census/CensusColumnFullName.php5
-rw-r--r--app/Census/CensusColumnGivenNameInitial.php5
-rw-r--r--app/Census/CensusColumnGivenNames.php5
-rw-r--r--app/Census/CensusColumnInterface.php5
-rw-r--r--app/Census/CensusColumnMarriedWithinYear.php5
-rw-r--r--app/Census/CensusColumnMonthIfBornWithinYear.php5
-rw-r--r--app/Census/CensusColumnMonthIfMarriedWithinYear.php5
-rw-r--r--app/Census/CensusColumnMotherBirthPlace.php5
-rw-r--r--app/Census/CensusColumnMotherBirthPlaceSimple.php5
-rw-r--r--app/Census/CensusColumnMotherForeign.php5
-rw-r--r--app/Census/CensusColumnNationality.php18
-rw-r--r--app/Census/CensusColumnNull.php5
-rw-r--r--app/Census/CensusColumnOccupation.php5
-rw-r--r--app/Census/CensusColumnRelationToHead.php9
-rw-r--r--app/Census/CensusColumnRelationToHeadGerman.php9
-rw-r--r--app/Census/CensusColumnReligion.php5
-rw-r--r--app/Census/CensusColumnSexMF.php17
-rw-r--r--app/Census/CensusColumnSexMK.php1
-rw-r--r--app/Census/CensusColumnSexMZ.php1
-rw-r--r--app/Census/CensusColumnSurname.php5
-rw-r--r--app/Census/CensusColumnSurnameGivenNameInitial.php3
-rw-r--r--app/Census/CensusColumnSurnameGivenNames.php5
-rw-r--r--app/Census/CensusColumnYearsMarried.php7
-rw-r--r--app/Census/CensusInterface.php1
-rw-r--r--app/Census/CensusOfCzechRepublic.php1
-rw-r--r--app/Census/CensusOfCzechRepublic1880.php1
-rw-r--r--app/Census/CensusOfCzechRepublic1921.php1
-rw-r--r--app/Census/CensusOfDenmark.php1
-rw-r--r--app/Census/CensusOfDenmark1787.php1
-rw-r--r--app/Census/CensusOfDenmark1801.php1
-rw-r--r--app/Census/CensusOfDenmark1803.php1
-rw-r--r--app/Census/CensusOfDenmark1834.php1
-rw-r--r--app/Census/CensusOfDenmark1835.php1
-rw-r--r--app/Census/CensusOfDenmark1840.php1
-rw-r--r--app/Census/CensusOfDenmark1845.php1
-rw-r--r--app/Census/CensusOfDenmark1850.php1
-rw-r--r--app/Census/CensusOfDenmark1855.php1
-rw-r--r--app/Census/CensusOfDenmark1860.php1
-rw-r--r--app/Census/CensusOfDenmark1870.php1
-rw-r--r--app/Census/CensusOfDenmark1880.php1
-rw-r--r--app/Census/CensusOfDenmark1885.php1
-rw-r--r--app/Census/CensusOfDenmark1890.php1
-rw-r--r--app/Census/CensusOfDenmark1901.php1
-rw-r--r--app/Census/CensusOfDenmark1906.php1
-rw-r--r--app/Census/CensusOfDenmark1911.php1
-rw-r--r--app/Census/CensusOfDenmark1916.php1
-rw-r--r--app/Census/CensusOfDenmark1921.php1
-rw-r--r--app/Census/CensusOfDenmark1925.php1
-rw-r--r--app/Census/CensusOfDenmark1930.php1
-rw-r--r--app/Census/CensusOfDenmark1940.php1
-rw-r--r--app/Census/CensusOfDeutschland.php1
-rw-r--r--app/Census/CensusOfDeutschland1819.php3
-rw-r--r--app/Census/CensusOfDeutschland1867.php3
-rw-r--r--app/Census/CensusOfDeutschland1900.php3
-rw-r--r--app/Census/CensusOfDeutschland1919.php3
-rw-r--r--app/Census/CensusOfDeutschlandNL1867.php5
-rw-r--r--app/Census/CensusOfEngland.php1
-rw-r--r--app/Census/CensusOfEngland1841.php1
-rw-r--r--app/Census/CensusOfEngland1851.php1
-rw-r--r--app/Census/CensusOfEngland1861.php1
-rw-r--r--app/Census/CensusOfEngland1871.php1
-rw-r--r--app/Census/CensusOfEngland1881.php1
-rw-r--r--app/Census/CensusOfEngland1891.php1
-rw-r--r--app/Census/CensusOfEngland1901.php1
-rw-r--r--app/Census/CensusOfEngland1911.php1
-rw-r--r--app/Census/CensusOfFrance.php1
-rw-r--r--app/Census/CensusOfFrance1831.php1
-rw-r--r--app/Census/CensusOfFrance1836.php1
-rw-r--r--app/Census/CensusOfFrance1841.php1
-rw-r--r--app/Census/CensusOfFrance1846.php1
-rw-r--r--app/Census/CensusOfFrance1851.php1
-rw-r--r--app/Census/CensusOfFrance1856.php1
-rw-r--r--app/Census/CensusOfFrance1861.php1
-rw-r--r--app/Census/CensusOfFrance1866.php1
-rw-r--r--app/Census/CensusOfFrance1872.php1
-rw-r--r--app/Census/CensusOfFrance1876.php1
-rw-r--r--app/Census/CensusOfFrance1881.php1
-rw-r--r--app/Census/CensusOfFrance1886.php1
-rw-r--r--app/Census/CensusOfFrance1891.php1
-rw-r--r--app/Census/CensusOfFrance1896.php1
-rw-r--r--app/Census/CensusOfFrance1901.php1
-rw-r--r--app/Census/CensusOfFrance1906.php1
-rw-r--r--app/Census/CensusOfFrance1911.php1
-rw-r--r--app/Census/CensusOfFrance1921.php1
-rw-r--r--app/Census/CensusOfFrance1926.php1
-rw-r--r--app/Census/CensusOfFrance1931.php1
-rw-r--r--app/Census/CensusOfFrance1936.php1
-rw-r--r--app/Census/CensusOfFrance1946.php1
-rw-r--r--app/Census/CensusOfScotland.php1
-rw-r--r--app/Census/CensusOfScotland1841.php1
-rw-r--r--app/Census/CensusOfScotland1851.php1
-rw-r--r--app/Census/CensusOfScotland1861.php1
-rw-r--r--app/Census/CensusOfScotland1871.php1
-rw-r--r--app/Census/CensusOfScotland1881.php1
-rw-r--r--app/Census/CensusOfScotland1891.php1
-rw-r--r--app/Census/CensusOfScotland1901.php1
-rw-r--r--app/Census/CensusOfScotland1911.php1
-rw-r--r--app/Census/CensusOfUnitedStates.php1
-rw-r--r--app/Census/CensusOfUnitedStates1790.php1
-rw-r--r--app/Census/CensusOfUnitedStates1800.php1
-rw-r--r--app/Census/CensusOfUnitedStates1810.php1
-rw-r--r--app/Census/CensusOfUnitedStates1820.php1
-rw-r--r--app/Census/CensusOfUnitedStates1830.php1
-rw-r--r--app/Census/CensusOfUnitedStates1840.php1
-rw-r--r--app/Census/CensusOfUnitedStates1850.php1
-rw-r--r--app/Census/CensusOfUnitedStates1860.php1
-rw-r--r--app/Census/CensusOfUnitedStates1870.php1
-rw-r--r--app/Census/CensusOfUnitedStates1880.php1
-rw-r--r--app/Census/CensusOfUnitedStates1890.php1
-rw-r--r--app/Census/CensusOfUnitedStates1900.php1
-rw-r--r--app/Census/CensusOfUnitedStates1910.php1
-rw-r--r--app/Census/CensusOfUnitedStates1920.php1
-rw-r--r--app/Census/CensusOfUnitedStates1930.php1
-rw-r--r--app/Census/CensusOfUnitedStates1940.php1
-rw-r--r--app/Census/CensusOfWales.php1
-rw-r--r--app/Census/CensusOfWales1841.php1
-rw-r--r--app/Census/CensusOfWales1851.php1
-rw-r--r--app/Census/CensusOfWales1861.php1
-rw-r--r--app/Census/CensusOfWales1871.php1
-rw-r--r--app/Census/CensusOfWales1881.php1
-rw-r--r--app/Census/CensusOfWales1891.php1
-rw-r--r--app/Census/CensusOfWales1901.php1
-rw-r--r--app/Census/CensusOfWales1911.php1
-rw-r--r--app/Census/CensusPlaceInterface.php1
-rw-r--r--app/Census/RegisterOfEngland1939.php1
-rw-r--r--app/Census/RegisterOfWales1939.php1
161 files changed, 368 insertions, 208 deletions
diff --git a/app/Census/AbstractCensusColumn.php b/app/Census/AbstractCensusColumn.php
index 90434fcf5e..8cf36fe303 100644
--- a/app/Census/AbstractCensusColumn.php
+++ b/app/Census/AbstractCensusColumn.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Date;
@@ -55,28 +56,6 @@ class AbstractCensusColumn {
}
/**
- * Extract the country (last part) of a place name.
- *
- * @param string $place - e.g. "London, England"
- *
- * @return string - e.g. "England"
- */
- protected function lastPartOfPlace($place) {
- $place = explode(', ', $place);
-
- return end($place);
- }
-
- /**
- * When did this census occur
- *
- * @return Date
- */
- public function date() {
- return new Date($this->census->censusDate());
- }
-
- /**
* Find the father of an individual
*
* @param Individual $individual
@@ -111,32 +90,6 @@ class AbstractCensusColumn {
}
/**
- * Remove the country of a place name, where it is the same as the census place
- *
- * @param string $place - e.g. "London, England"
- *
- * @return string - e.g. "London" (for census of England) and "London, England" elsewhere
- */
- protected function notCountry($place) {
- $parts = explode(', ', $place);
-
- if (end($parts) === $this->place()) {
- return implode(', ', array_slice($parts, 0, -1));
- } else {
- return $place;
- }
- }
-
- /**
- * Where did this census occur
- *
- * @return string
- */
- public function place() {
- return $this->census->censusPlace();
- }
-
- /**
* Find the current spouse family of an individual
*
* @param Individual $individual
@@ -155,13 +108,24 @@ class AbstractCensusColumn {
if (empty($families)) {
return null;
} else {
- usort($families, function (Family $x, Family $y) { return Date::compare($x->getMarriageDate(), $y->getMarriageDate()); });
+ usort($families, function (Family $x, Family $y) {
+ return Date::compare($x->getMarriageDate(), $y->getMarriageDate());
+ });
return end($families);
}
}
/**
+ * When did this census occur
+ *
+ * @return Date
+ */
+ public function date() {
+ return new Date($this->census->censusDate());
+ }
+
+ /**
* The full version of the column's name.
*
* @return string
@@ -169,4 +133,43 @@ class AbstractCensusColumn {
public function title() {
return $this->title;
}
+
+ /**
+ * Extract the country (last part) of a place name.
+ *
+ * @param string $place - e.g. "London, England"
+ *
+ * @return string - e.g. "England"
+ */
+ protected function lastPartOfPlace($place) {
+ $place = explode(', ', $place);
+
+ return end($place);
+ }
+
+ /**
+ * Remove the country of a place name, where it is the same as the census place
+ *
+ * @param string $place - e.g. "London, England"
+ *
+ * @return string - e.g. "London" (for census of England) and "London, England" elsewhere
+ */
+ protected function notCountry($place) {
+ $parts = explode(', ', $place);
+
+ if (end($parts) === $this->place()) {
+ return implode(', ', array_slice($parts, 0, -1));
+ } else {
+ return $place;
+ }
+ }
+
+ /**
+ * Where did this census occur
+ *
+ * @return string
+ */
+ public function place() {
+ return $this->census->censusPlace();
+ }
}
diff --git a/app/Census/AbstractCensusColumnCondition.php b/app/Census/AbstractCensusColumnCondition.php
index 47fe7b0fa3..aabd4624fd 100644
--- a/app/Census/AbstractCensusColumnCondition.php
+++ b/app/Census/AbstractCensusColumnCondition.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Date;
@@ -26,7 +27,7 @@ abstract class AbstractCensusColumnCondition extends AbstractCensusColumn implem
protected $husband = '';
/* Text to display for married females */
- protected $wife = '';
+ protected $wife = '';
/* Text to display for unmarried males */
protected $bachelor = '';
@@ -35,13 +36,13 @@ abstract class AbstractCensusColumnCondition extends AbstractCensusColumn implem
protected $spinster = '';
/* Text to display for male children */
- protected $boy = '';
+ protected $boy = '';
/* Text to display for female children */
protected $girl = '';
/* Text to display for divorced males */
- protected $divorce = '';
+ protected $divorce = '';
/* Text to display for divorced females */
protected $divorcee = '';
@@ -50,7 +51,7 @@ abstract class AbstractCensusColumnCondition extends AbstractCensusColumn implem
protected $widower = '';
/* Text to display for widowed females */
- protected $widow = '';
+ protected $widow = '';
/* At what age is this individual recorded as an adult */
protected $age_adult = 15;
@@ -58,8 +59,8 @@ abstract class AbstractCensusColumnCondition extends AbstractCensusColumn implem
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
@@ -86,6 +87,19 @@ abstract class AbstractCensusColumnCondition extends AbstractCensusColumn implem
}
/**
+ * Is the individual a child.
+ *
+ * @param Individual $individual
+ *
+ * @return bool
+ */
+ private function isChild(Individual $individual) {
+ $age = (int)Date::getAge($individual->getEstimatedBirthDate(), $this->date(), 0);
+
+ return $age < $this->age_adult;
+ }
+
+ /**
* How is this condition written in a census column.
*
* @param string $sex
@@ -107,11 +121,11 @@ abstract class AbstractCensusColumnCondition extends AbstractCensusColumn implem
*
* @return string
*/
- private function conditionDivorced($sex) {
+ private function conditionSingle($sex) {
if ($sex === 'F') {
- return $this->divorcee;
+ return $this->spinster;
} else {
- return $this->divorce;
+ return $this->bachelor;
}
}
@@ -122,27 +136,23 @@ abstract class AbstractCensusColumnCondition extends AbstractCensusColumn implem
*
* @return string
*/
- private function conditionMarried($sex) {
+ private function conditionDivorced($sex) {
if ($sex === 'F') {
- return $this->wife;
+ return $this->divorcee;
} else {
- return $this->husband;
+ return $this->divorce;
}
}
/**
- * How is this condition written in a census column.
+ * Is the individual dead.
*
- * @param string $sex
+ * @param Individual $individual
*
- * @return string
+ * @return bool
*/
- private function conditionSingle($sex) {
- if ($sex === 'F') {
- return $this->spinster;
- } else {
- return $this->bachelor;
- }
+ private function isDead(Individual $individual) {
+ return $individual->getDeathDate()->isOK() && Date::compare($individual->getDeathDate(), $this->date()) < 0;
}
/**
@@ -161,26 +171,17 @@ abstract class AbstractCensusColumnCondition extends AbstractCensusColumn implem
}
/**
- * Is the individual a child.
- *
- * @param Individual $individual
- *
- * @return bool
- */
- private function isChild(Individual $individual) {
- $age = (int) Date::getAge($individual->getEstimatedBirthDate(), $this->date(), 0);
-
- return $age < $this->age_adult;
- }
-
- /**
- * Is the individual dead.
+ * How is this condition written in a census column.
*
- * @param Individual $individual
+ * @param string $sex
*
- * @return bool
+ * @return string
*/
- private function isDead(Individual $individual) {
- return $individual->getDeathDate()->isOK() && Date::compare($individual->getDeathDate(), $this->date()) < 0;
+ private function conditionMarried($sex) {
+ if ($sex === 'F') {
+ return $this->wife;
+ } else {
+ return $this->husband;
+ }
}
}
diff --git a/app/Census/Census.php b/app/Census/Census.php
index 7393d75015..4e1b7b7759 100644
--- a/app/Census/Census.php
+++ b/app/Census/Census.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusColumnAge.php b/app/Census/CensusColumnAge.php
index b4cc9705e8..294a326089 100644
--- a/app/Census/CensusColumnAge.php
+++ b/app/Census/CensusColumnAge.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Date;
@@ -25,12 +26,12 @@ class CensusColumnAge extends AbstractCensusColumn implements CensusColumnInterf
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
public function generate(Individual $individual, Individual $head = null) {
- return (string) Date::getAge($individual->getEstimatedBirthDate(), $this->date(), 0);
+ return (string)Date::getAge($individual->getEstimatedBirthDate(), $this->date(), 0);
}
}
diff --git a/app/Census/CensusColumnAgeFemale.php b/app/Census/CensusColumnAgeFemale.php
index 3866de1714..17bfad324f 100644
--- a/app/Census/CensusColumnAgeFemale.php
+++ b/app/Census/CensusColumnAgeFemale.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Date;
@@ -25,8 +26,8 @@ class CensusColumnAgeFemale extends AbstractCensusColumn implements CensusColumn
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
@@ -34,7 +35,7 @@ class CensusColumnAgeFemale extends AbstractCensusColumn implements CensusColumn
if ($individual->getSex() === 'M') {
return '';
} else {
- return (string) Date::getAge($individual->getEstimatedBirthDate(), $this->date(), 0);
+ return (string)Date::getAge($individual->getEstimatedBirthDate(), $this->date(), 0);
}
}
}
diff --git a/app/Census/CensusColumnAgeFemale5Years.php b/app/Census/CensusColumnAgeFemale5Years.php
index fe974b8d74..a1cde3d0ed 100644
--- a/app/Census/CensusColumnAgeFemale5Years.php
+++ b/app/Census/CensusColumnAgeFemale5Years.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Date;
@@ -25,8 +26,8 @@ class CensusColumnAgeFemale5Years extends AbstractCensusColumn implements Census
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
@@ -39,7 +40,7 @@ class CensusColumnAgeFemale5Years extends AbstractCensusColumn implements Census
$years -= $years % 5;
}
- return (string) $years;
+ return (string)$years;
}
}
}
diff --git a/app/Census/CensusColumnAgeMale.php b/app/Census/CensusColumnAgeMale.php
index 9ff08810bb..3603edf118 100644
--- a/app/Census/CensusColumnAgeMale.php
+++ b/app/Census/CensusColumnAgeMale.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Date;
@@ -25,8 +26,8 @@ class CensusColumnAgeMale extends AbstractCensusColumn implements CensusColumnIn
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
@@ -34,7 +35,7 @@ class CensusColumnAgeMale extends AbstractCensusColumn implements CensusColumnIn
if ($individual->getSex() === 'F') {
return '';
} else {
- return (string) Date::getAge($individual->getEstimatedBirthDate(), $this->date(), 0);
+ return (string)Date::getAge($individual->getEstimatedBirthDate(), $this->date(), 0);
}
}
}
diff --git a/app/Census/CensusColumnAgeMale5Years.php b/app/Census/CensusColumnAgeMale5Years.php
index 85185fcef2..d8aa64981e 100644
--- a/app/Census/CensusColumnAgeMale5Years.php
+++ b/app/Census/CensusColumnAgeMale5Years.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Date;
@@ -25,8 +26,8 @@ class CensusColumnAgeMale5Years extends AbstractCensusColumn implements CensusCo
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
@@ -39,7 +40,7 @@ class CensusColumnAgeMale5Years extends AbstractCensusColumn implements CensusCo
$years -= $years % 5;
}
- return (string) $years;
+ return (string)$years;
}
}
}
diff --git a/app/Census/CensusColumnAgeMarried.php b/app/Census/CensusColumnAgeMarried.php
index 1ba40266bb..d42d3094c7 100644
--- a/app/Census/CensusColumnAgeMarried.php
+++ b/app/Census/CensusColumnAgeMarried.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Date;
@@ -25,8 +26,8 @@ class CensusColumnAgeMarried extends AbstractCensusColumn implements CensusColum
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnBirthDate.php b/app/Census/CensusColumnBirthDate.php
index 0a01d68e89..3724bf371b 100644
--- a/app/Census/CensusColumnBirthDate.php
+++ b/app/Census/CensusColumnBirthDate.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -24,8 +25,8 @@ class CensusColumnBirthDate extends AbstractCensusColumn implements CensusColumn
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnBirthDay.php b/app/Census/CensusColumnBirthDay.php
index 0a481b89b8..338a7910c2 100644
--- a/app/Census/CensusColumnBirthDay.php
+++ b/app/Census/CensusColumnBirthDay.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -24,8 +25,8 @@ class CensusColumnBirthDay extends AbstractCensusColumn implements CensusColumnI
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnBirthDayDotMonthYear.php b/app/Census/CensusColumnBirthDayDotMonthYear.php
index 89034a025b..3ae029f24d 100644
--- a/app/Census/CensusColumnBirthDayDotMonthYear.php
+++ b/app/Census/CensusColumnBirthDayDotMonthYear.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -24,8 +25,8 @@ class CensusColumnBirthDayDotMonthYear extends AbstractCensusColumn implements C
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnBirthDayMonthSlashYear.php b/app/Census/CensusColumnBirthDayMonthSlashYear.php
index c7a447c73b..2a89eb6ce7 100644
--- a/app/Census/CensusColumnBirthDayMonthSlashYear.php
+++ b/app/Census/CensusColumnBirthDayMonthSlashYear.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -24,8 +25,8 @@ class CensusColumnBirthDayMonthSlashYear extends AbstractCensusColumn implements
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnBirthDaySlashMonth.php b/app/Census/CensusColumnBirthDaySlashMonth.php
index 745c3867a3..f7b0cb9e9c 100644
--- a/app/Census/CensusColumnBirthDaySlashMonth.php
+++ b/app/Census/CensusColumnBirthDaySlashMonth.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -24,8 +25,8 @@ class CensusColumnBirthDaySlashMonth extends AbstractCensusColumn implements Cen
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnBirthDaySlashMonthYear.php b/app/Census/CensusColumnBirthDaySlashMonthYear.php
index cb42dda8c2..c8a51113df 100644
--- a/app/Census/CensusColumnBirthDaySlashMonthYear.php
+++ b/app/Census/CensusColumnBirthDaySlashMonthYear.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -24,8 +25,8 @@ class CensusColumnBirthDaySlashMonthYear extends AbstractCensusColumn implements
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnBirthMonth.php b/app/Census/CensusColumnBirthMonth.php
index f4809811c9..7989a95f9f 100644
--- a/app/Census/CensusColumnBirthMonth.php
+++ b/app/Census/CensusColumnBirthMonth.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -24,8 +25,8 @@ class CensusColumnBirthMonth extends AbstractCensusColumn implements CensusColum
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnBirthPlace.php b/app/Census/CensusColumnBirthPlace.php
index 41c49404fb..413f1d1796 100644
--- a/app/Census/CensusColumnBirthPlace.php
+++ b/app/Census/CensusColumnBirthPlace.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -24,8 +25,8 @@ class CensusColumnBirthPlace extends AbstractCensusColumn implements CensusColum
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnBirthPlaceSimple.php b/app/Census/CensusColumnBirthPlaceSimple.php
index 82b22e4078..424d4976a6 100644
--- a/app/Census/CensusColumnBirthPlaceSimple.php
+++ b/app/Census/CensusColumnBirthPlaceSimple.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -24,8 +25,8 @@ class CensusColumnBirthPlaceSimple extends CensusColumnBirthPlace implements Cen
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnBirthYear.php b/app/Census/CensusColumnBirthYear.php
index 5e173b1011..03a68893fb 100644
--- a/app/Census/CensusColumnBirthYear.php
+++ b/app/Census/CensusColumnBirthYear.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -24,8 +25,8 @@ class CensusColumnBirthYear extends AbstractCensusColumn implements CensusColumn
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnBornForeignParts.php b/app/Census/CensusColumnBornForeignParts.php
index 4bef3f6fc3..6efbd4e37e 100644
--- a/app/Census/CensusColumnBornForeignParts.php
+++ b/app/Census/CensusColumnBornForeignParts.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -24,8 +25,8 @@ class CensusColumnBornForeignParts extends AbstractCensusColumn implements Censu
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnChildrenBornAlive.php b/app/Census/CensusColumnChildrenBornAlive.php
index 72187fdaf5..be94893e8c 100644
--- a/app/Census/CensusColumnChildrenBornAlive.php
+++ b/app/Census/CensusColumnChildrenBornAlive.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Date;
@@ -25,8 +26,8 @@ class CensusColumnChildrenBornAlive extends AbstractCensusColumn implements Cens
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
@@ -48,6 +49,6 @@ class CensusColumnChildrenBornAlive extends AbstractCensusColumn implements Cens
}
}
- return (string) $count;
+ return (string)$count;
}
}
diff --git a/app/Census/CensusColumnChildrenDied.php b/app/Census/CensusColumnChildrenDied.php
index 69e169f2f0..d14be0a7ca 100644
--- a/app/Census/CensusColumnChildrenDied.php
+++ b/app/Census/CensusColumnChildrenDied.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Date;
@@ -25,8 +26,8 @@ class CensusColumnChildrenDied extends AbstractCensusColumn implements CensusCol
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
@@ -50,6 +51,6 @@ class CensusColumnChildrenDied extends AbstractCensusColumn implements CensusCol
}
}
- return (string) $count;
+ return (string)$count;
}
}
diff --git a/app/Census/CensusColumnChildrenLiving.php b/app/Census/CensusColumnChildrenLiving.php
index 5e616416ab..9e76079d8c 100644
--- a/app/Census/CensusColumnChildrenLiving.php
+++ b/app/Census/CensusColumnChildrenLiving.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Date;
@@ -25,8 +26,8 @@ class CensusColumnChildrenLiving extends AbstractCensusColumn implements CensusC
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
@@ -49,6 +50,6 @@ class CensusColumnChildrenLiving extends AbstractCensusColumn implements CensusC
}
}
- return (string) $count;
+ return (string)$count;
}
}
diff --git a/app/Census/CensusColumnConditionDanish.php b/app/Census/CensusColumnConditionDanish.php
index 09ea74de69..c50b2ed88a 100644
--- a/app/Census/CensusColumnConditionDanish.php
+++ b/app/Census/CensusColumnConditionDanish.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusColumnConditionEnglish.php b/app/Census/CensusColumnConditionEnglish.php
index b1c2dafd20..c51ef638bd 100644
--- a/app/Census/CensusColumnConditionEnglish.php
+++ b/app/Census/CensusColumnConditionEnglish.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusColumnConditionFrenchFemme.php b/app/Census/CensusColumnConditionFrenchFemme.php
index 6071285f34..fd4fba73a8 100644
--- a/app/Census/CensusColumnConditionFrenchFemme.php
+++ b/app/Census/CensusColumnConditionFrenchFemme.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusColumnConditionFrenchFille.php b/app/Census/CensusColumnConditionFrenchFille.php
index 7680302a8b..58ba091bbf 100644
--- a/app/Census/CensusColumnConditionFrenchFille.php
+++ b/app/Census/CensusColumnConditionFrenchFille.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusColumnConditionFrenchGarcon.php b/app/Census/CensusColumnConditionFrenchGarcon.php
index fa03ad5c62..2dd8cfa264 100644
--- a/app/Census/CensusColumnConditionFrenchGarcon.php
+++ b/app/Census/CensusColumnConditionFrenchGarcon.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusColumnConditionFrenchHomme.php b/app/Census/CensusColumnConditionFrenchHomme.php
index ef1f6e7dc7..146a7d0a1b 100644
--- a/app/Census/CensusColumnConditionFrenchHomme.php
+++ b/app/Census/CensusColumnConditionFrenchHomme.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusColumnConditionFrenchVeuf.php b/app/Census/CensusColumnConditionFrenchVeuf.php
index 032f5edce9..c899dd6c09 100644
--- a/app/Census/CensusColumnConditionFrenchVeuf.php
+++ b/app/Census/CensusColumnConditionFrenchVeuf.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusColumnConditionFrenchVeuve.php b/app/Census/CensusColumnConditionFrenchVeuve.php
index 39a85286e1..b8e12ce673 100644
--- a/app/Census/CensusColumnConditionFrenchVeuve.php
+++ b/app/Census/CensusColumnConditionFrenchVeuve.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusColumnConditionUs.php b/app/Census/CensusColumnConditionUs.php
index a3a6215009..f82aa99cf2 100644
--- a/app/Census/CensusColumnConditionUs.php
+++ b/app/Census/CensusColumnConditionUs.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusColumnFatherBirthPlace.php b/app/Census/CensusColumnFatherBirthPlace.php
index b1bff18baa..bff10a4fa1 100644
--- a/app/Census/CensusColumnFatherBirthPlace.php
+++ b/app/Census/CensusColumnFatherBirthPlace.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -24,8 +25,8 @@ class CensusColumnFatherBirthPlace extends AbstractCensusColumn implements Censu
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnFatherBirthPlaceSimple.php b/app/Census/CensusColumnFatherBirthPlaceSimple.php
index 2204a152b2..92bbd209d0 100644
--- a/app/Census/CensusColumnFatherBirthPlaceSimple.php
+++ b/app/Census/CensusColumnFatherBirthPlaceSimple.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -24,8 +25,8 @@ class CensusColumnFatherBirthPlaceSimple extends CensusColumnFatherBirthPlace im
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnFatherForeign.php b/app/Census/CensusColumnFatherForeign.php
index f277f4e0ea..88f931f20c 100644
--- a/app/Census/CensusColumnFatherForeign.php
+++ b/app/Census/CensusColumnFatherForeign.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -24,8 +25,8 @@ class CensusColumnFatherForeign extends AbstractCensusColumn implements CensusCo
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnFullName.php b/app/Census/CensusColumnFullName.php
index 4f74ca2ebc..0a1ed60090 100644
--- a/app/Census/CensusColumnFullName.php
+++ b/app/Census/CensusColumnFullName.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Date;
@@ -25,8 +26,8 @@ class CensusColumnFullName extends AbstractCensusColumn implements CensusColumnI
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnGivenNameInitial.php b/app/Census/CensusColumnGivenNameInitial.php
index 775a057f6a..33c8324852 100644
--- a/app/Census/CensusColumnGivenNameInitial.php
+++ b/app/Census/CensusColumnGivenNameInitial.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -24,8 +25,8 @@ class CensusColumnGivenNameInitial extends AbstractCensusColumn implements Censu
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnGivenNames.php b/app/Census/CensusColumnGivenNames.php
index 8f862661ba..54eb17787d 100644
--- a/app/Census/CensusColumnGivenNames.php
+++ b/app/Census/CensusColumnGivenNames.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -24,8 +25,8 @@ class CensusColumnGivenNames extends AbstractCensusColumn implements CensusColum
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnInterface.php b/app/Census/CensusColumnInterface.php
index 49c0658242..347646afa0 100644
--- a/app/Census/CensusColumnInterface.php
+++ b/app/Census/CensusColumnInterface.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Date;
@@ -39,8 +40,8 @@ interface CensusColumnInterface {
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnMarriedWithinYear.php b/app/Census/CensusColumnMarriedWithinYear.php
index 14f889d7b7..4604b3edbb 100644
--- a/app/Census/CensusColumnMarriedWithinYear.php
+++ b/app/Census/CensusColumnMarriedWithinYear.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -24,8 +25,8 @@ class CensusColumnMarriedWithinYear extends AbstractCensusColumn implements Cens
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnMonthIfBornWithinYear.php b/app/Census/CensusColumnMonthIfBornWithinYear.php
index 18101cab39..7ff6df0899 100644
--- a/app/Census/CensusColumnMonthIfBornWithinYear.php
+++ b/app/Census/CensusColumnMonthIfBornWithinYear.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -24,8 +25,8 @@ class CensusColumnMonthIfBornWithinYear extends AbstractCensusColumn implements
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnMonthIfMarriedWithinYear.php b/app/Census/CensusColumnMonthIfMarriedWithinYear.php
index cbef48a473..aeebec0283 100644
--- a/app/Census/CensusColumnMonthIfMarriedWithinYear.php
+++ b/app/Census/CensusColumnMonthIfMarriedWithinYear.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -24,8 +25,8 @@ class CensusColumnMonthIfMarriedWithinYear extends AbstractCensusColumn implemen
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnMotherBirthPlace.php b/app/Census/CensusColumnMotherBirthPlace.php
index a90e335158..e75bb7a62a 100644
--- a/app/Census/CensusColumnMotherBirthPlace.php
+++ b/app/Census/CensusColumnMotherBirthPlace.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -24,8 +25,8 @@ class CensusColumnMotherBirthPlace extends AbstractCensusColumn implements Censu
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnMotherBirthPlaceSimple.php b/app/Census/CensusColumnMotherBirthPlaceSimple.php
index 83185ffba6..b510bba726 100644
--- a/app/Census/CensusColumnMotherBirthPlaceSimple.php
+++ b/app/Census/CensusColumnMotherBirthPlaceSimple.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -24,8 +25,8 @@ class CensusColumnMotherBirthPlaceSimple extends CensusColumnMotherBirthPlace im
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnMotherForeign.php b/app/Census/CensusColumnMotherForeign.php
index 6ea62660f6..3c9760c90f 100644
--- a/app/Census/CensusColumnMotherForeign.php
+++ b/app/Census/CensusColumnMotherForeign.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -24,8 +25,8 @@ class CensusColumnMotherForeign extends AbstractCensusColumn implements CensusCo
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnNationality.php b/app/Census/CensusColumnNationality.php
index f537726569..ec9cffe82d 100644
--- a/app/Census/CensusColumnNationality.php
+++ b/app/Census/CensusColumnNationality.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Date;
@@ -23,18 +24,19 @@ use Fisharebest\Webtrees\Individual;
*/
class CensusColumnNationality extends AbstractCensusColumn implements CensusColumnInterface {
/** @var array Convert a country name to a nationality */
- private $nationalities = [
- 'England' => 'British',
- 'Scotland' => 'British',
- 'Wales' => 'British',
- 'Deutschland' => 'Deutsch',
- ];
+ private $nationalities
+ = [
+ 'England' => 'British',
+ 'Scotland' => 'British',
+ 'Wales' => 'British',
+ 'Deutschland' => 'Deutsch',
+ ];
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnNull.php b/app/Census/CensusColumnNull.php
index 9fda03f1ca..a30b7f1847 100644
--- a/app/Census/CensusColumnNull.php
+++ b/app/Census/CensusColumnNull.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -24,8 +25,8 @@ class CensusColumnNull extends AbstractCensusColumn implements CensusColumnInter
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnOccupation.php b/app/Census/CensusColumnOccupation.php
index ce7b6c1d0e..bea00f0723 100644
--- a/app/Census/CensusColumnOccupation.php
+++ b/app/Census/CensusColumnOccupation.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -24,8 +25,8 @@ class CensusColumnOccupation extends AbstractCensusColumn implements CensusColum
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnRelationToHead.php b/app/Census/CensusColumnRelationToHead.php
index c215f45ffc..69b74a6d21 100644
--- a/app/Census/CensusColumnRelationToHead.php
+++ b/app/Census/CensusColumnRelationToHead.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Functions\Functions;
@@ -25,15 +26,13 @@ class CensusColumnRelationToHead extends AbstractCensusColumn implements CensusC
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
public function generate(Individual $individual, Individual $head = null) {
- if ($head === null) {
- return '';
- } elseif ($individual == $head) {
+ if ($head === null || $individual === $head) {
return 'head';
} else {
return Functions::getCloseRelationshipName($head, $individual);
diff --git a/app/Census/CensusColumnRelationToHeadGerman.php b/app/Census/CensusColumnRelationToHeadGerman.php
index 34604451d5..edc785676a 100644
--- a/app/Census/CensusColumnRelationToHeadGerman.php
+++ b/app/Census/CensusColumnRelationToHeadGerman.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Functions\Functions;
@@ -25,15 +26,13 @@ class CensusColumnRelationToHeadGerman extends AbstractCensusColumn implements C
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
public function generate(Individual $individual, Individual $head = null) {
- if ($head === null) {
- return '';
- } elseif ($individual == $head) {
+ if ($head === null || $individual === $head) {
return 'Haushaltungsvorstand';
} else {
return Functions::getCloseRelationshipName($head, $individual);
diff --git a/app/Census/CensusColumnReligion.php b/app/Census/CensusColumnReligion.php
index d2cf758892..8b09d31b6f 100644
--- a/app/Census/CensusColumnReligion.php
+++ b/app/Census/CensusColumnReligion.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -26,8 +27,8 @@ class CensusColumnReligion extends AbstractCensusColumn implements CensusColumnI
*
* @todo Look for RELI tags (or subtags?)
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnSexMF.php b/app/Census/CensusColumnSexMF.php
index e213989a42..59659bbad4 100644
--- a/app/Census/CensusColumnSexMF.php
+++ b/app/Census/CensusColumnSexMF.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -30,19 +31,19 @@ class CensusColumnSexMF extends AbstractCensusColumn implements CensusColumnInte
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
public function generate(Individual $individual, Individual $head = null) {
switch ($individual->getSex()) {
- case 'M':
- return $this->male;
- case 'F':
- return $this->female;
- default:
- return '';
+ case 'M':
+ return $this->male;
+ case 'F':
+ return $this->female;
+ default:
+ return '';
}
}
}
diff --git a/app/Census/CensusColumnSexMK.php b/app/Census/CensusColumnSexMK.php
index 6f5c703cd4..f79d3bf52b 100644
--- a/app/Census/CensusColumnSexMK.php
+++ b/app/Census/CensusColumnSexMK.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusColumnSexMZ.php b/app/Census/CensusColumnSexMZ.php
index bf7cf38291..55a6ebb4b6 100644
--- a/app/Census/CensusColumnSexMZ.php
+++ b/app/Census/CensusColumnSexMZ.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusColumnSurname.php b/app/Census/CensusColumnSurname.php
index 1f4512762f..5b4d7b3cdb 100644
--- a/app/Census/CensusColumnSurname.php
+++ b/app/Census/CensusColumnSurname.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -24,8 +25,8 @@ class CensusColumnSurname extends AbstractCensusColumn implements CensusColumnIn
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnSurnameGivenNameInitial.php b/app/Census/CensusColumnSurnameGivenNameInitial.php
index ee44cf1fe1..58e39cb8f6 100644
--- a/app/Census/CensusColumnSurnameGivenNameInitial.php
+++ b/app/Census/CensusColumnSurnameGivenNameInitial.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -25,7 +26,7 @@ class CensusColumnSurnameGivenNameInitial extends CensusColumnFullName {
* Generate the likely value of this census column, based on available information.
*
* @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnSurnameGivenNames.php b/app/Census/CensusColumnSurnameGivenNames.php
index 4b6991599e..5ed9e910fa 100644
--- a/app/Census/CensusColumnSurnameGivenNames.php
+++ b/app/Census/CensusColumnSurnameGivenNames.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
@@ -24,8 +25,8 @@ class CensusColumnSurnameGivenNames extends AbstractCensusColumn implements Cens
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
diff --git a/app/Census/CensusColumnYearsMarried.php b/app/Census/CensusColumnYearsMarried.php
index dc101397d7..38cf0a472d 100644
--- a/app/Census/CensusColumnYearsMarried.php
+++ b/app/Census/CensusColumnYearsMarried.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Date;
@@ -25,8 +26,8 @@ class CensusColumnYearsMarried extends AbstractCensusColumn implements CensusCol
/**
* Generate the likely value of this census column, based on available information.
*
- * @param Individual $individual
- * @param Individual|null $head
+ * @param Individual $individual
+ * @param Individual $head
*
* @return string
*/
@@ -44,7 +45,7 @@ class CensusColumnYearsMarried extends AbstractCensusColumn implements CensusCol
if ($marriage_date === null) {
return '';
} else {
- return (string) Date::getAge($marriage_date, $this->date(), 0);
+ return (string)Date::getAge($marriage_date, $this->date(), 0);
}
}
}
diff --git a/app/Census/CensusInterface.php b/app/Census/CensusInterface.php
index d263eab0a3..9d8eec30c9 100644
--- a/app/Census/CensusInterface.php
+++ b/app/Census/CensusInterface.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfCzechRepublic.php b/app/Census/CensusOfCzechRepublic.php
index 54d85134be..acb2bc7ec0 100644
--- a/app/Census/CensusOfCzechRepublic.php
+++ b/app/Census/CensusOfCzechRepublic.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfCzechRepublic1880.php b/app/Census/CensusOfCzechRepublic1880.php
index 961b8649ff..ed7f429fa2 100644
--- a/app/Census/CensusOfCzechRepublic1880.php
+++ b/app/Census/CensusOfCzechRepublic1880.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfCzechRepublic1921.php b/app/Census/CensusOfCzechRepublic1921.php
index dae915f292..79278b695c 100644
--- a/app/Census/CensusOfCzechRepublic1921.php
+++ b/app/Census/CensusOfCzechRepublic1921.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfDenmark.php b/app/Census/CensusOfDenmark.php
index bcf0c2ffd7..232dfd0b16 100644
--- a/app/Census/CensusOfDenmark.php
+++ b/app/Census/CensusOfDenmark.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfDenmark1787.php b/app/Census/CensusOfDenmark1787.php
index 16e1443c6d..ad55a91c99 100644
--- a/app/Census/CensusOfDenmark1787.php
+++ b/app/Census/CensusOfDenmark1787.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfDenmark1801.php b/app/Census/CensusOfDenmark1801.php
index 51ba42f343..c7cc21ea34 100644
--- a/app/Census/CensusOfDenmark1801.php
+++ b/app/Census/CensusOfDenmark1801.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfDenmark1803.php b/app/Census/CensusOfDenmark1803.php
index 99031969ce..2d2f4c973f 100644
--- a/app/Census/CensusOfDenmark1803.php
+++ b/app/Census/CensusOfDenmark1803.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfDenmark1834.php b/app/Census/CensusOfDenmark1834.php
index 75e74cdc22..60353621ed 100644
--- a/app/Census/CensusOfDenmark1834.php
+++ b/app/Census/CensusOfDenmark1834.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfDenmark1835.php b/app/Census/CensusOfDenmark1835.php
index b164ef3840..74f09fa086 100644
--- a/app/Census/CensusOfDenmark1835.php
+++ b/app/Census/CensusOfDenmark1835.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfDenmark1840.php b/app/Census/CensusOfDenmark1840.php
index 9415111a40..06a750034f 100644
--- a/app/Census/CensusOfDenmark1840.php
+++ b/app/Census/CensusOfDenmark1840.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfDenmark1845.php b/app/Census/CensusOfDenmark1845.php
index d50bee94c8..8bdf738438 100644
--- a/app/Census/CensusOfDenmark1845.php
+++ b/app/Census/CensusOfDenmark1845.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfDenmark1850.php b/app/Census/CensusOfDenmark1850.php
index a06d6f6647..de4698465a 100644
--- a/app/Census/CensusOfDenmark1850.php
+++ b/app/Census/CensusOfDenmark1850.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfDenmark1855.php b/app/Census/CensusOfDenmark1855.php
index 37e7edd30f..c4ad4dae75 100644
--- a/app/Census/CensusOfDenmark1855.php
+++ b/app/Census/CensusOfDenmark1855.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfDenmark1860.php b/app/Census/CensusOfDenmark1860.php
index 169ecfb2fd..d5a9a6ff99 100644
--- a/app/Census/CensusOfDenmark1860.php
+++ b/app/Census/CensusOfDenmark1860.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfDenmark1870.php b/app/Census/CensusOfDenmark1870.php
index 8b645ebf94..db8ad00d05 100644
--- a/app/Census/CensusOfDenmark1870.php
+++ b/app/Census/CensusOfDenmark1870.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfDenmark1880.php b/app/Census/CensusOfDenmark1880.php
index b28445003b..7156d3ba7b 100644
--- a/app/Census/CensusOfDenmark1880.php
+++ b/app/Census/CensusOfDenmark1880.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfDenmark1885.php b/app/Census/CensusOfDenmark1885.php
index e21929c568..2cf2e64e18 100644
--- a/app/Census/CensusOfDenmark1885.php
+++ b/app/Census/CensusOfDenmark1885.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfDenmark1890.php b/app/Census/CensusOfDenmark1890.php
index 5158d255cc..064b2fca6d 100644
--- a/app/Census/CensusOfDenmark1890.php
+++ b/app/Census/CensusOfDenmark1890.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfDenmark1901.php b/app/Census/CensusOfDenmark1901.php
index ae658f13e1..5fd31fba52 100644
--- a/app/Census/CensusOfDenmark1901.php
+++ b/app/Census/CensusOfDenmark1901.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfDenmark1906.php b/app/Census/CensusOfDenmark1906.php
index 6aed17336e..36e714bc51 100644
--- a/app/Census/CensusOfDenmark1906.php
+++ b/app/Census/CensusOfDenmark1906.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfDenmark1911.php b/app/Census/CensusOfDenmark1911.php
index 2c0666113b..95e54546f2 100644
--- a/app/Census/CensusOfDenmark1911.php
+++ b/app/Census/CensusOfDenmark1911.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfDenmark1916.php b/app/Census/CensusOfDenmark1916.php
index 49891e9a47..c21d7eb4c5 100644
--- a/app/Census/CensusOfDenmark1916.php
+++ b/app/Census/CensusOfDenmark1916.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfDenmark1921.php b/app/Census/CensusOfDenmark1921.php
index b2d0faaadd..160ac3c8ca 100644
--- a/app/Census/CensusOfDenmark1921.php
+++ b/app/Census/CensusOfDenmark1921.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfDenmark1925.php b/app/Census/CensusOfDenmark1925.php
index 3d68266129..bdafedda7c 100644
--- a/app/Census/CensusOfDenmark1925.php
+++ b/app/Census/CensusOfDenmark1925.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfDenmark1930.php b/app/Census/CensusOfDenmark1930.php
index c1e7a9cee1..14b4eda001 100644
--- a/app/Census/CensusOfDenmark1930.php
+++ b/app/Census/CensusOfDenmark1930.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfDenmark1940.php b/app/Census/CensusOfDenmark1940.php
index c380c3ef7f..a723038600 100644
--- a/app/Census/CensusOfDenmark1940.php
+++ b/app/Census/CensusOfDenmark1940.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfDeutschland.php b/app/Census/CensusOfDeutschland.php
index e227f26790..9561274646 100644
--- a/app/Census/CensusOfDeutschland.php
+++ b/app/Census/CensusOfDeutschland.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfDeutschland1819.php b/app/Census/CensusOfDeutschland1819.php
index 7e6e168820..b9b799039c 100644
--- a/app/Census/CensusOfDeutschland1819.php
+++ b/app/Census/CensusOfDeutschland1819.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
@@ -35,7 +36,7 @@ class CensusOfDeutschland1819 extends CensusOfDeutschland implements CensusInter
*/
public function censusPlace() {
return 'Mecklenburg-Schwerin, Deutschland';
- }
+ }
/**
* The columns of the census.
diff --git a/app/Census/CensusOfDeutschland1867.php b/app/Census/CensusOfDeutschland1867.php
index cc964dc298..5918099a7a 100644
--- a/app/Census/CensusOfDeutschland1867.php
+++ b/app/Census/CensusOfDeutschland1867.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
@@ -35,7 +36,7 @@ class CensusOfDeutschland1867 extends CensusOfDeutschland implements CensusInter
*/
public function censusPlace() {
return 'Mecklenburg-Schwerin, Deutschland';
- }
+ }
/**
* The columns of the census.
diff --git a/app/Census/CensusOfDeutschland1900.php b/app/Census/CensusOfDeutschland1900.php
index 37a0ef98da..a8ffb19ebc 100644
--- a/app/Census/CensusOfDeutschland1900.php
+++ b/app/Census/CensusOfDeutschland1900.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
@@ -35,7 +36,7 @@ class CensusOfDeutschland1900 extends CensusOfDeutschland implements CensusInter
*/
public function censusPlace() {
return 'Mecklenburg-Schwerin, Deutschland';
- }
+ }
/**
* The columns of the census.
diff --git a/app/Census/CensusOfDeutschland1919.php b/app/Census/CensusOfDeutschland1919.php
index c319feeab8..9cdde360de 100644
--- a/app/Census/CensusOfDeutschland1919.php
+++ b/app/Census/CensusOfDeutschland1919.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
@@ -35,7 +36,7 @@ class CensusOfDeutschland1919 extends CensusOfDeutschland implements CensusInter
*/
public function censusPlace() {
return 'Mecklenburg-Schwerin, Deutschland';
- }
+ }
/**
* The columns of the census.
diff --git a/app/Census/CensusOfDeutschlandNL1867.php b/app/Census/CensusOfDeutschlandNL1867.php
index 9ce646b441..b558cc6de4 100644
--- a/app/Census/CensusOfDeutschlandNL1867.php
+++ b/app/Census/CensusOfDeutschlandNL1867.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
@@ -27,7 +28,7 @@ class CensusOfDeutschlandNL1867 extends CensusOfDeutschland implements CensusInt
public function censusDate() {
return '03 DEC 1867';
}
-
+
/**
* Where did this census occur, in GEDCOM format.
*
@@ -35,7 +36,7 @@ class CensusOfDeutschlandNL1867 extends CensusOfDeutschland implements CensusInt
*/
public function censusPlace() {
return 'Mecklenburg-Schwerin (Nachtragsliste), Deutschland';
- }
+ }
/**
* The columns of the census.
diff --git a/app/Census/CensusOfEngland.php b/app/Census/CensusOfEngland.php
index a18a6c5a4c..3874de608b 100644
--- a/app/Census/CensusOfEngland.php
+++ b/app/Census/CensusOfEngland.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfEngland1841.php b/app/Census/CensusOfEngland1841.php
index f362c8d5cc..eaa700e1f7 100644
--- a/app/Census/CensusOfEngland1841.php
+++ b/app/Census/CensusOfEngland1841.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfEngland1851.php b/app/Census/CensusOfEngland1851.php
index 995d797c81..43a3f50aab 100644
--- a/app/Census/CensusOfEngland1851.php
+++ b/app/Census/CensusOfEngland1851.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfEngland1861.php b/app/Census/CensusOfEngland1861.php
index fc8638e987..39a1c0fbe1 100644
--- a/app/Census/CensusOfEngland1861.php
+++ b/app/Census/CensusOfEngland1861.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfEngland1871.php b/app/Census/CensusOfEngland1871.php
index 1de14d19a6..a40af86a90 100644
--- a/app/Census/CensusOfEngland1871.php
+++ b/app/Census/CensusOfEngland1871.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfEngland1881.php b/app/Census/CensusOfEngland1881.php
index 639f69944d..f561303088 100644
--- a/app/Census/CensusOfEngland1881.php
+++ b/app/Census/CensusOfEngland1881.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfEngland1891.php b/app/Census/CensusOfEngland1891.php
index 589ff61aaf..fff4b07741 100644
--- a/app/Census/CensusOfEngland1891.php
+++ b/app/Census/CensusOfEngland1891.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfEngland1901.php b/app/Census/CensusOfEngland1901.php
index 2b3ef91b23..386c7f3e1d 100644
--- a/app/Census/CensusOfEngland1901.php
+++ b/app/Census/CensusOfEngland1901.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfEngland1911.php b/app/Census/CensusOfEngland1911.php
index d6ca8fffb0..464995c6ba 100644
--- a/app/Census/CensusOfEngland1911.php
+++ b/app/Census/CensusOfEngland1911.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfFrance.php b/app/Census/CensusOfFrance.php
index fceb519867..a6cd7eb8b1 100644
--- a/app/Census/CensusOfFrance.php
+++ b/app/Census/CensusOfFrance.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfFrance1831.php b/app/Census/CensusOfFrance1831.php
index 6f9bb71c0e..f0cbe18469 100644
--- a/app/Census/CensusOfFrance1831.php
+++ b/app/Census/CensusOfFrance1831.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfFrance1836.php b/app/Census/CensusOfFrance1836.php
index 1fb9895485..d4c68be723 100644
--- a/app/Census/CensusOfFrance1836.php
+++ b/app/Census/CensusOfFrance1836.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfFrance1841.php b/app/Census/CensusOfFrance1841.php
index 2e107e8d3c..3fec4d8dd8 100644
--- a/app/Census/CensusOfFrance1841.php
+++ b/app/Census/CensusOfFrance1841.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfFrance1846.php b/app/Census/CensusOfFrance1846.php
index 2496e694aa..8c1a389d81 100644
--- a/app/Census/CensusOfFrance1846.php
+++ b/app/Census/CensusOfFrance1846.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfFrance1851.php b/app/Census/CensusOfFrance1851.php
index c92402693a..7a5dd10cc4 100644
--- a/app/Census/CensusOfFrance1851.php
+++ b/app/Census/CensusOfFrance1851.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfFrance1856.php b/app/Census/CensusOfFrance1856.php
index c066530f9b..ca466d5e0c 100644
--- a/app/Census/CensusOfFrance1856.php
+++ b/app/Census/CensusOfFrance1856.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfFrance1861.php b/app/Census/CensusOfFrance1861.php
index a8e4b8cb48..4f8985596d 100644
--- a/app/Census/CensusOfFrance1861.php
+++ b/app/Census/CensusOfFrance1861.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfFrance1866.php b/app/Census/CensusOfFrance1866.php
index cf6f7fcf72..ab96b39c8f 100644
--- a/app/Census/CensusOfFrance1866.php
+++ b/app/Census/CensusOfFrance1866.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfFrance1872.php b/app/Census/CensusOfFrance1872.php
index ea776ed3e2..477f7856b2 100644
--- a/app/Census/CensusOfFrance1872.php
+++ b/app/Census/CensusOfFrance1872.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfFrance1876.php b/app/Census/CensusOfFrance1876.php
index d10b55a307..0612636dd0 100644
--- a/app/Census/CensusOfFrance1876.php
+++ b/app/Census/CensusOfFrance1876.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfFrance1881.php b/app/Census/CensusOfFrance1881.php
index a9ce887eaa..46cd8d0699 100644
--- a/app/Census/CensusOfFrance1881.php
+++ b/app/Census/CensusOfFrance1881.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfFrance1886.php b/app/Census/CensusOfFrance1886.php
index 2bbc6f2aa7..9265265137 100644
--- a/app/Census/CensusOfFrance1886.php
+++ b/app/Census/CensusOfFrance1886.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfFrance1891.php b/app/Census/CensusOfFrance1891.php
index ddd486f72f..0bbc10631f 100644
--- a/app/Census/CensusOfFrance1891.php
+++ b/app/Census/CensusOfFrance1891.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfFrance1896.php b/app/Census/CensusOfFrance1896.php
index 687f9aeb0c..25bfc224e0 100644
--- a/app/Census/CensusOfFrance1896.php
+++ b/app/Census/CensusOfFrance1896.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfFrance1901.php b/app/Census/CensusOfFrance1901.php
index 51cbe6e32b..0fcc7c75a7 100644
--- a/app/Census/CensusOfFrance1901.php
+++ b/app/Census/CensusOfFrance1901.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfFrance1906.php b/app/Census/CensusOfFrance1906.php
index 389c025c80..4ff0146ed7 100644
--- a/app/Census/CensusOfFrance1906.php
+++ b/app/Census/CensusOfFrance1906.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfFrance1911.php b/app/Census/CensusOfFrance1911.php
index 2bf2becaa9..3e69e8e579 100644
--- a/app/Census/CensusOfFrance1911.php
+++ b/app/Census/CensusOfFrance1911.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfFrance1921.php b/app/Census/CensusOfFrance1921.php
index 5778d195d9..9856ab17af 100644
--- a/app/Census/CensusOfFrance1921.php
+++ b/app/Census/CensusOfFrance1921.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfFrance1926.php b/app/Census/CensusOfFrance1926.php
index 1ea7d11c81..d1b704709e 100644
--- a/app/Census/CensusOfFrance1926.php
+++ b/app/Census/CensusOfFrance1926.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfFrance1931.php b/app/Census/CensusOfFrance1931.php
index b8a099a26a..076a5d6872 100644
--- a/app/Census/CensusOfFrance1931.php
+++ b/app/Census/CensusOfFrance1931.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfFrance1936.php b/app/Census/CensusOfFrance1936.php
index b945b5e7d7..01eed1b8f5 100644
--- a/app/Census/CensusOfFrance1936.php
+++ b/app/Census/CensusOfFrance1936.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfFrance1946.php b/app/Census/CensusOfFrance1946.php
index c958a8b94f..c8f7b5d9b0 100644
--- a/app/Census/CensusOfFrance1946.php
+++ b/app/Census/CensusOfFrance1946.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfScotland.php b/app/Census/CensusOfScotland.php
index 88d5de2b62..ad54650fcb 100644
--- a/app/Census/CensusOfScotland.php
+++ b/app/Census/CensusOfScotland.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfScotland1841.php b/app/Census/CensusOfScotland1841.php
index 1cf105330a..66ddbadc5c 100644
--- a/app/Census/CensusOfScotland1841.php
+++ b/app/Census/CensusOfScotland1841.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfScotland1851.php b/app/Census/CensusOfScotland1851.php
index ea579be922..8c066fa712 100644
--- a/app/Census/CensusOfScotland1851.php
+++ b/app/Census/CensusOfScotland1851.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfScotland1861.php b/app/Census/CensusOfScotland1861.php
index 4824601f19..ed628ac2d3 100644
--- a/app/Census/CensusOfScotland1861.php
+++ b/app/Census/CensusOfScotland1861.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfScotland1871.php b/app/Census/CensusOfScotland1871.php
index 81a09b5167..55bf666a02 100644
--- a/app/Census/CensusOfScotland1871.php
+++ b/app/Census/CensusOfScotland1871.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfScotland1881.php b/app/Census/CensusOfScotland1881.php
index 6801233876..25344794a1 100644
--- a/app/Census/CensusOfScotland1881.php
+++ b/app/Census/CensusOfScotland1881.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfScotland1891.php b/app/Census/CensusOfScotland1891.php
index afd12247ae..fa65406e15 100644
--- a/app/Census/CensusOfScotland1891.php
+++ b/app/Census/CensusOfScotland1891.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfScotland1901.php b/app/Census/CensusOfScotland1901.php
index 9c35c8c6a9..d12d3b52f6 100644
--- a/app/Census/CensusOfScotland1901.php
+++ b/app/Census/CensusOfScotland1901.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfScotland1911.php b/app/Census/CensusOfScotland1911.php
index 6b07b8e1c6..142a389341 100644
--- a/app/Census/CensusOfScotland1911.php
+++ b/app/Census/CensusOfScotland1911.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfUnitedStates.php b/app/Census/CensusOfUnitedStates.php
index da12abee05..0513e3ed71 100644
--- a/app/Census/CensusOfUnitedStates.php
+++ b/app/Census/CensusOfUnitedStates.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfUnitedStates1790.php b/app/Census/CensusOfUnitedStates1790.php
index 6ab3951160..4e922b08f0 100644
--- a/app/Census/CensusOfUnitedStates1790.php
+++ b/app/Census/CensusOfUnitedStates1790.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfUnitedStates1800.php b/app/Census/CensusOfUnitedStates1800.php
index a70e7d61ef..cb4b12c1f5 100644
--- a/app/Census/CensusOfUnitedStates1800.php
+++ b/app/Census/CensusOfUnitedStates1800.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfUnitedStates1810.php b/app/Census/CensusOfUnitedStates1810.php
index f0e32ebdb9..c2c2e1d3fe 100644
--- a/app/Census/CensusOfUnitedStates1810.php
+++ b/app/Census/CensusOfUnitedStates1810.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfUnitedStates1820.php b/app/Census/CensusOfUnitedStates1820.php
index 54aa12d898..7027f9e989 100644
--- a/app/Census/CensusOfUnitedStates1820.php
+++ b/app/Census/CensusOfUnitedStates1820.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfUnitedStates1830.php b/app/Census/CensusOfUnitedStates1830.php
index bd033a9b72..1bac28786f 100644
--- a/app/Census/CensusOfUnitedStates1830.php
+++ b/app/Census/CensusOfUnitedStates1830.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfUnitedStates1840.php b/app/Census/CensusOfUnitedStates1840.php
index 6fcb413d51..64ddd90b23 100644
--- a/app/Census/CensusOfUnitedStates1840.php
+++ b/app/Census/CensusOfUnitedStates1840.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfUnitedStates1850.php b/app/Census/CensusOfUnitedStates1850.php
index dd5acb410b..695b48327b 100644
--- a/app/Census/CensusOfUnitedStates1850.php
+++ b/app/Census/CensusOfUnitedStates1850.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfUnitedStates1860.php b/app/Census/CensusOfUnitedStates1860.php
index 2512514a50..ab420a3720 100644
--- a/app/Census/CensusOfUnitedStates1860.php
+++ b/app/Census/CensusOfUnitedStates1860.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfUnitedStates1870.php b/app/Census/CensusOfUnitedStates1870.php
index 671538912e..6d28d1c7ae 100644
--- a/app/Census/CensusOfUnitedStates1870.php
+++ b/app/Census/CensusOfUnitedStates1870.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfUnitedStates1880.php b/app/Census/CensusOfUnitedStates1880.php
index 0888c0686c..125ea59d62 100644
--- a/app/Census/CensusOfUnitedStates1880.php
+++ b/app/Census/CensusOfUnitedStates1880.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfUnitedStates1890.php b/app/Census/CensusOfUnitedStates1890.php
index 8bd6dc42f1..046ee578ea 100644
--- a/app/Census/CensusOfUnitedStates1890.php
+++ b/app/Census/CensusOfUnitedStates1890.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfUnitedStates1900.php b/app/Census/CensusOfUnitedStates1900.php
index 6498f29026..7101463fa5 100644
--- a/app/Census/CensusOfUnitedStates1900.php
+++ b/app/Census/CensusOfUnitedStates1900.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfUnitedStates1910.php b/app/Census/CensusOfUnitedStates1910.php
index 3dbb4eee99..661ef1bdff 100644
--- a/app/Census/CensusOfUnitedStates1910.php
+++ b/app/Census/CensusOfUnitedStates1910.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfUnitedStates1920.php b/app/Census/CensusOfUnitedStates1920.php
index f838fedbb4..89e6afc562 100644
--- a/app/Census/CensusOfUnitedStates1920.php
+++ b/app/Census/CensusOfUnitedStates1920.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfUnitedStates1930.php b/app/Census/CensusOfUnitedStates1930.php
index fbe59bedd2..c8a3f961bc 100644
--- a/app/Census/CensusOfUnitedStates1930.php
+++ b/app/Census/CensusOfUnitedStates1930.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfUnitedStates1940.php b/app/Census/CensusOfUnitedStates1940.php
index ae166d1cfd..2959b43164 100644
--- a/app/Census/CensusOfUnitedStates1940.php
+++ b/app/Census/CensusOfUnitedStates1940.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfWales.php b/app/Census/CensusOfWales.php
index e23e0ab597..b283116e4a 100644
--- a/app/Census/CensusOfWales.php
+++ b/app/Census/CensusOfWales.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfWales1841.php b/app/Census/CensusOfWales1841.php
index 8229f9a679..7443307dac 100644
--- a/app/Census/CensusOfWales1841.php
+++ b/app/Census/CensusOfWales1841.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfWales1851.php b/app/Census/CensusOfWales1851.php
index dcf63d5502..82c0752bc9 100644
--- a/app/Census/CensusOfWales1851.php
+++ b/app/Census/CensusOfWales1851.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfWales1861.php b/app/Census/CensusOfWales1861.php
index f14b0c0727..7afdcfc374 100644
--- a/app/Census/CensusOfWales1861.php
+++ b/app/Census/CensusOfWales1861.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfWales1871.php b/app/Census/CensusOfWales1871.php
index 528eb8e4b6..37999aceec 100644
--- a/app/Census/CensusOfWales1871.php
+++ b/app/Census/CensusOfWales1871.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfWales1881.php b/app/Census/CensusOfWales1881.php
index ab6214f174..fe46fba12e 100644
--- a/app/Census/CensusOfWales1881.php
+++ b/app/Census/CensusOfWales1881.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfWales1891.php b/app/Census/CensusOfWales1891.php
index 23d32ee5d6..f4bf2727c5 100644
--- a/app/Census/CensusOfWales1891.php
+++ b/app/Census/CensusOfWales1891.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfWales1901.php b/app/Census/CensusOfWales1901.php
index 9afde9dc18..ae23d7fcad 100644
--- a/app/Census/CensusOfWales1901.php
+++ b/app/Census/CensusOfWales1901.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusOfWales1911.php b/app/Census/CensusOfWales1911.php
index 832b63d398..0608511a2a 100644
--- a/app/Census/CensusOfWales1911.php
+++ b/app/Census/CensusOfWales1911.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/CensusPlaceInterface.php b/app/Census/CensusPlaceInterface.php
index 3b566ba619..af3afc8b1f 100644
--- a/app/Census/CensusPlaceInterface.php
+++ b/app/Census/CensusPlaceInterface.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/RegisterOfEngland1939.php b/app/Census/RegisterOfEngland1939.php
index 06a6ebf132..9448952531 100644
--- a/app/Census/RegisterOfEngland1939.php
+++ b/app/Census/RegisterOfEngland1939.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**
diff --git a/app/Census/RegisterOfWales1939.php b/app/Census/RegisterOfWales1939.php
index 9022934a48..115146e34a 100644
--- a/app/Census/RegisterOfWales1939.php
+++ b/app/Census/RegisterOfWales1939.php
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
namespace Fisharebest\Webtrees\Census;
/**