mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Code cleanup
This commit is contained in:
@@ -80,7 +80,7 @@ trait CalculateRangeOccurrences
|
||||
}
|
||||
while ($start < $end) {
|
||||
$domCorrected = min($dayOfMonth, $start->daysInMonth);
|
||||
$start->day = $domCorrected;
|
||||
$start->day = $domCorrected;
|
||||
if (0 === $attempts % $skipMod && $start->lte($start) && $end->gte($start)) {
|
||||
$return[] = clone $start;
|
||||
}
|
||||
@@ -92,7 +92,6 @@ trait CalculateRangeOccurrences
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Get the number of daily occurrences for a recurring transaction until date $end is reached. Will skip every $skipMod-1 occurrences.
|
||||
*
|
||||
|
Reference in New Issue
Block a user