diff --git a/src/Illuminate/Cache/RateLimiting/Limit.php b/src/Illuminate/Cache/RateLimiting/Limit.php index 3e8956cad2ad..330cab39bba1 100644 --- a/src/Illuminate/Cache/RateLimiting/Limit.php +++ b/src/Illuminate/Cache/RateLimiting/Limit.php @@ -61,11 +61,11 @@ public static function perMinute($maxAttempts) /** * Create a new rate limit using minutes as decay time. * - * @param int $maxAttempts * @param int $decayMinutes + * @param int $maxAttempts * @return static */ - public static function perMinutes($maxAttempts, $decayMinutes = 1) + public static function perMinutes($decayMinutes, $maxAttempts) { return new static('', $maxAttempts, $decayMinutes); }