Update some code with rector.

This commit is contained in:
James Cole
2025-05-29 15:22:55 +02:00
parent 5be6bb755d
commit adba360466
14 changed files with 27 additions and 26 deletions

View File

@@ -56,7 +56,7 @@ final class BillDateCalculatorTest extends TestCase
public function testGivenSomeDataItWorks(Carbon $earliest, Carbon $latest, Carbon $billStart, string $period, int $skip, ?Carbon $lastPaid, array $expected): void
{
$result = $this->calculator->getPayDates($earliest, $latest, $billStart, $period, $skip, $lastPaid);
self::assertSame($expected, $result);
$this->assertSame($expected, $result);
}
public static function provideDates(): Iterator

View File

@@ -45,6 +45,6 @@ final class NavigationCustomEndOfPeriodTest extends TestCase
$navigation = new Navigation();
$period = $navigation->endOfPeriod($from, 'custom');
self::assertSame($expected->toDateString(), $period->toDateString());
$this->assertSame($expected->toDateString(), $period->toDateString());
}
}