mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-14 16:13:54 +00:00
Use PSR-12 code style
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -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;
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -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;
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -34,7 +34,6 @@ use Illuminate\Support\Facades\Log;
|
||||
*/
|
||||
trait FiltersWeekends
|
||||
{
|
||||
|
||||
/**
|
||||
* Filters out all weekend entries, if necessary.
|
||||
*
|
||||
|
Reference in New Issue
Block a user