coding style
This commit is contained in:
@@ -27,7 +27,7 @@ trait DateStats
|
||||
{
|
||||
$periods = DateRange::getPeriodsLastMonth(12);
|
||||
$values = self::sumPeriodly($periods, $field, $fieldDate);
|
||||
|
||||
|
||||
return self::buildLabels($periods, $values, 'MMM YY');
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ trait DateStats
|
||||
$index = Carbon::parse($period->startDate)->isoFormat($format);
|
||||
$data[$index] = $values[$key];
|
||||
}
|
||||
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user