Skip to content

Conversation

jimmypuckett
Copy link
Contributor

The existing perHour & perDay methods allow passing in an optional decayHours/decayDays, but perSecond & perMinute do not follow the same pattern. I know that there is the perMinutes, but it flips decay & max.

This is just a quick PR to make the API consistent.

NOTE: I am re-opening #51053 from my personal account to allow maintainer edits since the first PR was from our company account.

@taylorotwell taylorotwell merged commit 645f57a into laravel:11.x Apr 15, 2024
@robin-dongbin
Copy link

@jimmypuckett I think we should delete function perMinutes after this merged, maybe in 12.x?

@jimmypuckett jimmypuckett deleted the passDecayLikeHourAndDay branch April 16, 2024 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants