Use PSR-12 code style

This commit is contained in:
James Cole
2022-10-30 14:24:37 +01:00
parent f53923f16c
commit f52675068b
151 changed files with 251 additions and 403 deletions

View File

@@ -32,7 +32,6 @@ use Illuminate\Support\Facades\Log;
*/
trait CalculateRangeOccurrences
{
/**
* Get the number of daily occurrences for a recurring transaction until date $end is reached. Will skip every $skipMod-1 occurrences.
*
@@ -185,7 +184,6 @@ trait CalculateRangeOccurrences
$return = [];
if ($start > $date) {
$date->addYear();
}
// is $date between $start and $end?
@@ -201,6 +199,5 @@ trait CalculateRangeOccurrences
}
return $return;
}
}

View File

@@ -31,7 +31,6 @@ use Carbon\Carbon;
*/
trait CalculateXOccurrences
{
/**
* 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.
@@ -210,6 +209,5 @@ trait CalculateXOccurrences
}
return $return;
}
}

View File

@@ -32,7 +32,6 @@ use Log;
*/
trait CalculateXOccurrencesSince
{
/**
* 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.
@@ -234,6 +233,5 @@ trait CalculateXOccurrencesSince
}
return $return;
}
}

View File

@@ -34,7 +34,6 @@ use Illuminate\Support\Facades\Log;
*/
trait FiltersWeekends
{
/**
* Filters out all weekend entries, if necessary.
*