Completed
Push — develop ( 78b87e...173250 )
by Greg
08:50
created
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/CensusColumnSexMF.php 1 patch
Switch Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -38,12 +38,12 @@
 block discarded – undo
38 38
 	 */
39 39
 	public function generate(Individual $individual, Individual $head = null) {
40 40
 		switch ($individual->getSex()) {
41
-			case 'M':
42
-				return $this->male;
43
-			case 'F':
44
-				return $this->female;
45
-			default:
46
-				return '';
41
+		case 'M':
42
+			return $this->male;
43
+		case 'F':
44
+			return $this->female;
45
+		default:
46
+			return '';
47 47
 		}
48 48
 	}
49 49
 }
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/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/AbstractCensusColumnCondition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
 	 * @return bool
95 95
 	 */
96 96
 	private function isChild(Individual $individual) {
97
-		$age = (int)Date::getAge($individual->getEstimatedBirthDate(), $this->date(), 0);
97
+		$age = (int) Date::getAge($individual->getEstimatedBirthDate(), $this->date(), 0);
98 98
 
99 99
 		return $age < $this->age_adult;
100 100
 	}
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
@@ -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/CensusColumnChildrenDied.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/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.
editnews.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
 
48 48
 switch ($action) {
49 49
 case 'delete':
50
-	Database::prepare("DELETE FROM `##news` WHERE news_id = :news_id")->execute(['news_id'   => $news_id,]);
50
+	Database::prepare("DELETE FROM `##news` WHERE news_id = :news_id")->execute(['news_id'   => $news_id, ]);
51 51
 
52 52
 	header('Location: index.php?ctype=' . $ctype . '&ged=' . $controller->tree()->getNameUrl());
53 53
 
Please login to merge, or discard this patch.