From 0cf1eccab8c3a8ea0531672b8aac0f2cfd443ba5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20H=C3=A4drich?= <11225821+shaedrich@users.noreply.github.com> Date: Thu, 19 Dec 2024 21:56:29 +0100 Subject: [PATCH] Fix typo --- src/Illuminate/Routing/Middleware/ThrottleRequests.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Routing/Middleware/ThrottleRequests.php b/src/Illuminate/Routing/Middleware/ThrottleRequests.php index 049dea8923cf..8ee0e15a0089 100644 --- a/src/Illuminate/Routing/Middleware/ThrottleRequests.php +++ b/src/Illuminate/Routing/Middleware/ThrottleRequests.php @@ -98,7 +98,7 @@ public function handle($request, Closure $next, $maxAttempts = 60, $decayMinutes (object) [ 'key' => $prefix.$this->resolveRequestSignature($request), 'maxAttempts' => $this->resolveMaxAttempts($request, $maxAttempts), - 'decaySeconds' => SECONDS_PER_DAY * $decayMinutes, + 'decaySeconds' => SECONDS_PER_MINUTE * $decayMinutes, 'responseCallback' => null, ], ]