8000 [RateLimiter] Remove Window::sleep() · symfony/symfony@ccbf7d5 · GitHub
[go: up one dir, main page]

Skip to content

Commit ccbf7d5

Browse files
committed
[RateLimiter] Remove Window::sleep()
1 parent 508ec9c commit ccbf7d5

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/Symfony/Component/RateLimiter/Window.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,4 @@ public function calculateTimeForTokens(int $tokens): int
8585

8686
return $cyclesRequired * $this->intervalInSeconds;
8787
}
88-
89-
/**
90-
* @internal
91-
*/
92-
public function __sleep(): array
93-
{
94-
return ['id', 'hitCount', 'intervalInSeconds', 'timer', 'maxSize'];
95-
}
9688
}

0 commit comments

Comments
 (0)
0