Remove inspection, add TODO's, make code a bit simpler.

This commit is contained in:
James Cole
2019-08-16 21:38:35 +02:00
parent 820358af73
commit f09d0e87e4
23 changed files with 79 additions and 90 deletions

View File

@@ -32,7 +32,7 @@ use Carbon\Carbon;
*/
trait CalculateXOccurrences
{
/** @noinspection MoreThanThreeArgumentsInspection */
/**
* Calculates the number of daily occurrences for a recurring transaction, starting at the date, until $count is reached. It will skip
* over $skipMod -1 recurrences.
@@ -61,7 +61,7 @@ trait CalculateXOccurrences
return $return;
}
/** @noinspection MoreThanThreeArgumentsInspection */
/**
* Calculates the number of monthly occurrences for a recurring transaction, starting at the date, until $count is reached. It will skip
@@ -100,7 +100,7 @@ trait CalculateXOccurrences
return $return;
}
/** @noinspection MoreThanThreeArgumentsInspection */
/**
* Calculates the number of NDOM occurrences for a recurring transaction, starting at the date, until $count is reached. It will skip
* over $skipMod -1 recurrences.
@@ -139,7 +139,7 @@ trait CalculateXOccurrences
return $return;
}
/** @noinspection MoreThanThreeArgumentsInspection */
/**
* Calculates the number of weekly occurrences for a recurring transaction, starting at the date, until $count is reached. It will skip
@@ -183,7 +183,7 @@ trait CalculateXOccurrences
return $return;
}
/** @noinspection MoreThanThreeArgumentsInspection */
/**
* Calculates the number of yearly occurrences for a recurring transaction, starting at the date, until $count is reached. It will skip