mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-09 20:11:22 +00:00
🤖 Auto commit for release 'develop' on 2025-07-07
This commit is contained in:
@@ -24,7 +24,6 @@ declare(strict_types=1);
|
||||
namespace Tests\unit\Support;
|
||||
|
||||
use Override;
|
||||
use Iterator;
|
||||
use Carbon\Carbon;
|
||||
use FireflyIII\Support\Navigation;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
@@ -58,7 +57,7 @@ final class NavigationEndOfPeriodTest extends TestCase
|
||||
$this->assertSame($expected->toDateString(), $period->toDateString());
|
||||
}
|
||||
|
||||
public static function provideDates(): Iterator
|
||||
public static function provideDates(): iterable
|
||||
{
|
||||
yield '1D' => ['1D', Carbon::now(), Carbon::now()->endOfDay()];
|
||||
|
||||
@@ -122,7 +121,7 @@ final class NavigationEndOfPeriodTest extends TestCase
|
||||
Log::shouldHaveReceived('error', [$expectedMessage]);
|
||||
}
|
||||
|
||||
public static function provideUnknownFrequencies(): Iterator
|
||||
public static function provideUnknownFrequencies(): iterable
|
||||
{
|
||||
yield '1day' => ['1day', Carbon::now(), Carbon::now()];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user