Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Feb 25, 2021
1 parent e83d250 commit 86d0a5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Cache/RateLimiting/Limit.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 86d0a5c

Please sign in to comment.