Completed
Push — develop ( a42dca...7c41b0 )
by Greg
09:28
created
app/Module/CensusAssistantModule.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -21,13 +21,11 @@
 block discarded – undo
21 21
 use Fisharebest\Webtrees\Family;
22 22
 use Fisharebest\Webtrees\Filter;
23 23
 use Fisharebest\Webtrees\FontAwesome;
24
-use Fisharebest\Webtrees\Functions\Functions;
25 24
 use Fisharebest\Webtrees\Functions\FunctionsDb;
26 25
 use Fisharebest\Webtrees\Functions\FunctionsEdit;
27 26
 use Fisharebest\Webtrees\GedcomRecord;
28 27
 use Fisharebest\Webtrees\I18N;
29 28
 use Fisharebest\Webtrees\Individual;
30
-use Fisharebest\Webtrees\Menu;
31 29
 use Fisharebest\Webtrees\Note;
32 30
 use Fisharebest\Webtrees\Soundex;
33 31
 
Please login to merge, or discard this patch.
app/Census/CensusColumnAgeFemale5Years.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 				$years -= $years % 5;
41 41
 			}
42 42
 
43
-			return (string)$years;
43
+			return (string) $years;
44 44
 		}
45 45
 	}
46 46
 }
Please login to merge, or discard this patch.
app/Census/CensusColumnYearsMarried.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
app/Census/CensusColumnAgeFemale.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
app/Census/CensusColumnChildrenBornAlive.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,6 +49,6 @@
 block discarded – undo
49 49
 			}
50 50
 		}
51 51
 
52
-		return (string)$count;
52
+		return (string) $count;
53 53
 	}
54 54
 }
Please login to merge, or discard this patch.
app/Census/CensusColumnAgeMale.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
app/Census/CensusColumnChildrenLiving.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,6 +50,6 @@
 block discarded – undo
50 50
 			}
51 51
 		}
52 52
 
53
-		return (string)$count;
53
+		return (string) $count;
54 54
 	}
55 55
 }
Please login to merge, or discard this patch.
app/Census/CensusColumnAge.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,6 +32,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
app/Census/CensusColumnAgeMale5Years.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 				$years -= $years % 5;
41 41
 			}
42 42
 
43
-			return (string)$years;
43
+			return (string) $years;
44 44
 		}
45 45
 	}
46 46
 }
Please login to merge, or discard this patch.