@@ -84,7 +84,6 @@ discard block |
||
| 84 | 84 | |
| 85 | 85 | /** |
| 86 | 86 | * @param Individual $individual |
| 87 | - * @param CensusInterface $census |
|
| 88 | 87 | */ |
| 89 | 88 | public function createCensusAssistant(Individual $individual) { |
| 90 | 89 | ?> |
@@ -287,7 +286,7 @@ discard block |
||
| 287 | 286 | * @param string $ca_title |
| 288 | 287 | * @param string $ca_place |
| 289 | 288 | * @param string $ca_citation |
| 290 | - * @param string[][] $ca_individuals |
|
| 289 | + * @param string[] $ca_individuals |
|
| 291 | 290 | * @param string $ca_notes |
| 292 | 291 | * |
| 293 | 292 | * @return string |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | $years -= $years % 5; |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | - return (string)$years; |
|
| 43 | + return (string) $years; |
|
| 44 | 44 | } |
| 45 | 45 | } |
| 46 | 46 | } |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | if ($marriage_date === null) { |
| 46 | 46 | return ''; |
| 47 | 47 | } else { |
| 48 | - return (string)Date::getAge($marriage_date, $this->date(), 0); |
|
| 48 | + return (string) Date::getAge($marriage_date, $this->date(), 0); |
|
| 49 | 49 | } |
| 50 | 50 | } |
| 51 | 51 | } |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | if ($individual->getSex() === 'M') { |
| 36 | 36 | return ''; |
| 37 | 37 | } else { |
| 38 | - return (string)Date::getAge($individual->getEstimatedBirthDate(), $this->date(), 0); |
|
| 38 | + return (string) Date::getAge($individual->getEstimatedBirthDate(), $this->date(), 0); |
|
| 39 | 39 | } |
| 40 | 40 | } |
| 41 | 41 | } |
@@ -49,6 +49,6 @@ |
||
| 49 | 49 | } |
| 50 | 50 | } |
| 51 | 51 | |
| 52 | - return (string)$count; |
|
| 52 | + return (string) $count; |
|
| 53 | 53 | } |
| 54 | 54 | } |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | if ($individual->getSex() === 'F') { |
| 36 | 36 | return ''; |
| 37 | 37 | } else { |
| 38 | - return (string)Date::getAge($individual->getEstimatedBirthDate(), $this->date(), 0); |
|
| 38 | + return (string) Date::getAge($individual->getEstimatedBirthDate(), $this->date(), 0); |
|
| 39 | 39 | } |
| 40 | 40 | } |
| 41 | 41 | } |
@@ -50,6 +50,6 @@ |
||
| 50 | 50 | } |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | - return (string)$count; |
|
| 53 | + return (string) $count; |
|
| 54 | 54 | } |
| 55 | 55 | } |
@@ -32,6 +32,6 @@ |
||
| 32 | 32 | * @return string |
| 33 | 33 | */ |
| 34 | 34 | public function generate(Individual $individual, Individual $head = null) { |
| 35 | - return (string)Date::getAge($individual->getEstimatedBirthDate(), $this->date(), 0); |
|
| 35 | + return (string) Date::getAge($individual->getEstimatedBirthDate(), $this->date(), 0); |
|
| 36 | 36 | } |
| 37 | 37 | } |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | $years -= $years % 5; |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | - return (string)$years; |
|
| 43 | + return (string) $years; |
|
| 44 | 44 | } |
| 45 | 45 | } |
| 46 | 46 | } |