Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8d22839

Browse filesBrowse files
[RateLimiter] Fix CI on PHP 8.2
1 parent c25a7f5 commit 8d22839
Copy full SHA for 8d22839

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/RateLimiter/Tests/Policy/RateTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Tests/Policy/RateTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function testFromString(Rate $rate)
2626

2727
public function provideRate(): iterable
2828
{
29-
yield [new Rate(\DateInterval::createFromDateString('15 seconds'), 10)];
29+
yield [new Rate(new \DateInterval('PT15S'), 10)];
3030
yield [Rate::perSecond(10)];
3131
yield [Rate::perMinute(10)];
3232
yield [Rate::perHour(10)];

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.