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 a1596b5

Browse filesBrowse files
committed
fix property type
1 parent 563dbf6 commit a1596b5
Copy full SHA for a1596b5

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/RateLimiter/Policy/SlidingWindow.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Policy/SlidingWindow.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ final class SlidingWindow implements LimiterStateInterface
2525
private int $hitCount = 0;
2626
private int $hitCountForLastWindow = 0;
2727
private int $intervalInSeconds;
28-
private int $windowEndAt;
28+
private float $windowEndAt;
2929
private bool $cached = true;
3030

3131
public function __construct(string $id, int $intervalInSeconds)

0 commit comments

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