Code cleanup

This commit is contained in:
James Cole
2021-03-21 09:15:40 +01:00
parent da1751940e
commit 206845575c
317 changed files with 7418 additions and 7362 deletions

View File

@@ -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.
*