Skip to content

Commit b5e5e4f

Browse files
committed
Fix CS
1 parent 8fdf91c commit b5e5e4f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/InstantTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ public function testGetIntervalTo(int $second1, int $nano1, int $second2, int $n
590590
{
591591
$actualResult = Instant::of($second1, $nano1)->getIntervalTo(Instant::of($second2, $nano2));
592592

593-
$this->assertSame($expectedInterval, (string) $actualResult);
593+
self::assertSame($expectedInterval, (string) $actualResult);
594594
}
595595

596596
public function providerGetIntervalTo(): array

tests/ZonedDateTimeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ public function testGetIntervalTo(string $firstDate, string $secondDate, string
864864
{
865865
$actualResult = ZonedDateTime::parse($firstDate)->getIntervalTo(ZonedDateTime::parse($secondDate));
866866

867-
$this->assertSame($expectedInterval, (string) $actualResult);
867+
self::assertSame($expectedInterval, (string) $actualResult);
868868
}
869869

870870
public function providerGetIntervalTo(): array

0 commit comments

Comments
 (0)