-
Notifications
You must be signed in to change notification settings - Fork 11.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Http::get('URL')->throw() will now throw "Argument 0 not passed to function" #34591
Comments
Thanks for reporting this. I also posted some details about it here: d034e2c#r42849328 |
Any reason not to do |
@MiniCodeMonkey , changing the method signature would be a breaking change for users that are extending this class, and as breaking change it would only be released on Laravel 9. So the approach allows us to add this new feature without introducing a BC. |
Ah. That totally makes sense. Thanks for clarifying!
On September 30, 2020, GitHub ***@***.***> wrote:
@MiniCodeMonkey <https://github.com/MiniCodeMonkey> , changing the
method signature would be a breaking change for users that are
extending this class, and as breaking change it would only be released
on Laravel 9.
So the approach allows us to add this new feature without introducing
a BC.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#34591 (comment)-
701435463>, or unsubscribe
<https://github.com/notifications/unsubscribe-
auth/AABV254UJIE5TOTYXDNCL3TSIM7QNANCNFSM4R6RCOSQ>.
|
@taylorotwell, #34597 fix accepted. Tell me, when is the patch release planned? |
@andrey-helldar releases are done on Tuesdays. |
Description:
It will throw
Argument 0 not passed to function
if no argument is passed.Steps To Reproduce:
This code will throw the
Argument 0 not passed to function
in Laravel 8.7.1The text was updated successfully, but these errors were encountered: