We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4908d37 commit 1037397Copy full SHA for 1037397
tests/Claims/DatetimeClaimTest.php
@@ -132,7 +132,7 @@ public function it_should_handle_datetime_immutable_claims()
132
/** @test */
133
public function it_should_handle_datetinterval_claims()
134
{
135
- $testDateInterval = DateInterval::createFromDateString('PT1H');
+ $testDateInterval = new DateInterval('PT1H');
136
137
$this->assertInstanceOf(DateInterval::class, $testDateInterval);
138
0 commit comments