Various code cleanup.

This commit is contained in:
James Cole
2021-05-24 08:54:58 +02:00
parent 815fd5ff6b
commit d60650cff2
63 changed files with 134 additions and 88 deletions

View File

@@ -193,7 +193,7 @@ trait CalculateRangeOccurrences
if (0 === $attempts % $skipMod) {
$return[] = clone $obj;
}
$obj->addYears(1);
$obj->addYears();
$count++;
$attempts++;
}

View File

@@ -200,7 +200,7 @@ trait CalculateXOccurrences
$return[] = clone $obj;
$total++;
}
$obj->addYears(1);
$obj->addYears();
$attempts++;
}