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 d27c6c6

Browse filesBrowse files
minor #43771 [RateLimiter] fix property type (xabbuh)
This PR was merged into the 6.0 branch. Discussion ---------- [RateLimiter] fix property type | Q | A | ------------- | --- | Branch? | 6.0 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | Commits ------- a1596b5 fix property type
2 parents 563dbf6 + a1596b5 commit d27c6c6
Copy full SHA for d27c6c6

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.