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 3ba99dd

Browse filesBrowse files
Merge branch '5.4' into 6.0
* 5.4: [RateLimiter] Fix CI on PHP 8.2
2 parents 87bc78e + 4f8d787 commit 3ba99dd
Copy full SHA for 3ba99dd

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.