mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Import statements and update configuration.
This commit is contained in:
@@ -27,6 +27,7 @@ namespace Tests\unit\Support\Calendar;
|
||||
use Carbon\Carbon;
|
||||
use FireflyIII\Support\Calendar\Periodicity;
|
||||
use Tests\unit\Support\Calendar\Periodicity\IntervalProvider;
|
||||
use Generator;
|
||||
|
||||
readonly class CalculatorProvider
|
||||
{
|
||||
@@ -37,7 +38,7 @@ readonly class CalculatorProvider
|
||||
$this->label = "{$this->periodicity->name} {$this->intervalProvider->label}";
|
||||
}
|
||||
|
||||
public static function providePeriodicityWithSkippedIntervals(): \Generator
|
||||
public static function providePeriodicityWithSkippedIntervals(): Generator
|
||||
{
|
||||
$intervals = [
|
||||
self::from(Periodicity::Daily, new IntervalProvider(Carbon::now(), Carbon::now()->addDays(2)), 1),
|
||||
|
Reference in New Issue
Block a user