We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 765eb82 commit da9b604Copy full SHA for da9b604
src/WithRateLimiting.php
@@ -18,7 +18,7 @@ protected function clearRateLimiter($method = null, $component = null)
18
RateLimiter::clear($key);
19
}
20
21
- protected function getRateLimitKey($method, $component)
+ protected function getRateLimitKey($method, $component = null)
22
{
23
$method ??= debug_backtrace(limit: 2)[1]['function'];
24
0 commit comments