Skip to content

Conversation

@seriquynh
Copy link
Contributor

What is the problem?

Passing $message as null into Symfony\Component\HttpKernel\Exception\HttpException::__construct has been deprecated since symfony v5.3 and will be remove in v6.0. Instead, we have to pass a string (an empty string by default). Visit here for more details.

Therefore, the constructor of ThrottleRequestsException (that also extends HttpException via TooManyRequestsHttpException) now only has to accept $message as string.

@taylorotwell taylorotwell merged commit 985b2cf into laravel:master Dec 9, 2021
@seriquynh seriquynh deleted the fix-throttle-requests-exception branch December 10, 2021 00:28
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