Completed
Push — openstreetmap ( 22420f...65d328 )
by Greg
15:04 queued 05:50
created
resources/views/tables/chart-by-decade.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 }
25 25
 $chart_url .= '|1:||' . rawurlencode(I18N::percentage($vmax / $count)); // y axis
26 26
 $chart_url .= '|2:||';
27
-$step      = $vmax;
27
+$step = $vmax;
28 28
 for ($d = $vmax; $d > 0; $d--) {
29 29
 	if ($vmax < ($d * 10 + 1) && ($vmax % $d) == 0) {
30 30
 		$step = $d;
Please login to merge, or discard this patch.
app/Http/Controllers/DescendantsChartController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
 
102 102
 		$this->checkModuleIsActive($tree, 'descendancy_chart');
103 103
 
104
-		$xref         = $request->get('xref');
104
+		$xref = $request->get('xref');
105 105
 		$individual = Individual::getInstance($xref, $tree);
106 106
 
107 107
 		$this->checkIndividualAccess($individual);
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
 
119 119
 		$descendants = $this->descendants($individual, $generations, []);
120 120
 
121
-		switch($chart_style) {
121
+		switch ($chart_style) {
122 122
 			case self::CHART_STYLE_LIST:
123 123
 			default:
124 124
 				return $this->descendantsList($individual, $generations);
@@ -315,7 +315,7 @@  discard block
 block discarded – undo
315 315
 	 * @return Response
316 316
 	 */
317 317
 	private function descendantsFamilies(Tree $tree, array $descendants): Response {
318
-		$families  = [];
318
+		$families = [];
319 319
 		foreach ($descendants as $individual) {
320 320
 			foreach ($individual->getChildFamilies() as $family) {
321 321
 				$families[$family->getXref()] = $family;
Please login to merge, or discard this patch.