mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Code reordering and reformatting. I should really start employing style CI.
This commit is contained in:
@@ -184,6 +184,7 @@ class FrontpageChartGenerator
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $currencyData
|
||||
* @param array $monetaryData
|
||||
|
@@ -115,7 +115,7 @@ class WholePeriodChartGenerator
|
||||
}
|
||||
|
||||
/**
|
||||
* See reference nr. 32
|
||||
* See reference nr. 32
|
||||
*
|
||||
* @param Carbon $start
|
||||
* @param Carbon $end
|
||||
@@ -128,13 +128,13 @@ class WholePeriodChartGenerator
|
||||
$step = '1D';
|
||||
$months = $start->diffInMonths($end);
|
||||
if ($months > 3) {
|
||||
$step = '1W';
|
||||
$step = '1W';
|
||||
}
|
||||
if ($months > 24) {
|
||||
$step = '1M';
|
||||
$step = '1M';
|
||||
}
|
||||
if ($months > 100) {
|
||||
$step = '1Y';
|
||||
$step = '1Y';
|
||||
}
|
||||
|
||||
return $step;
|
||||
|
Reference in New Issue
Block a user