diff --git a/src/Illuminate/Cache/RateLimiter.php b/src/Illuminate/Cache/RateLimiter.php index 6e65b4f12a54..d9c7dfec9109 100644 --- a/src/Illuminate/Cache/RateLimiter.php +++ b/src/Illuminate/Cache/RateLimiter.php @@ -7,10 +7,10 @@ use Illuminate\Support\Collection; use Illuminate\Support\InteractsWithTime; -use const Illuminate\Support\Date\SECONDS_PER_MINUTE; - use function Illuminate\Support\enum_value; +use const Illuminate\Support\Date\SECONDS_PER_MINUTE; + class RateLimiter { use InteractsWithTime; diff --git a/src/Illuminate/Cache/RateLimiting/Limit.php b/src/Illuminate/Cache/RateLimiting/Limit.php index b8deae8ca624..a5d636004f4a 100644 --- a/src/Illuminate/Cache/RateLimiting/Limit.php +++ b/src/Illuminate/Cache/RateLimiting/Limit.php @@ -2,7 +2,7 @@ namespace Illuminate\Cache\RateLimiting; -use const Illuminate\Support\Date\{SECONDS_PER_MINUTE, MINUTES_PER_HOUR, HOURS_PER_DAY}; +use const Illuminate\Support\Date\{HOURS_PER_DAY, MINUTES_PER_HOUR, SECONDS_PER_MINUTE}; class Limit {