Skip to content

Commit 1037397

Browse files
committed
fix php 7.3
1 parent 4908d37 commit 1037397

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Claims/DatetimeClaimTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function it_should_handle_datetime_immutable_claims()
132132
/** @test */
133133
public function it_should_handle_datetinterval_claims()
134134
{
135-
$testDateInterval = DateInterval::createFromDateString('PT1H');
135+
$testDateInterval = new DateInterval('PT1H');
136136

137137
$this->assertInstanceOf(DateInterval::class, $testDateInterval);
138138

0 commit comments

Comments
 (0)