Skip to content
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

[5.5] remove unused parameter #22403

Closed
wants to merge 1 commit into from

Conversation

ngocnv-0940
Copy link

No description provided.

@ngocnv-0940 ngocnv-0940 changed the title remove unused parameter [5.5] remove unused parameter Dec 13, 2017
@sisve
Copy link
Contributor

sisve commented Dec 13, 2017

Changing a method signature in the middle of 5.5? Blasphemy!

Do I need to point out the problems or will just you retract this change?

@lagbox
Copy link
Contributor

lagbox commented Dec 13, 2017

So if I had extended this class and bound my version to the container I will have to deal with PHP warnings?

@sisve
Copy link
Contributor

sisve commented Dec 13, 2017

Okay. So I can be more clear than that.

The method is unused in our implementation. However, we're a framework and people can extend our rate limiters and overridden that method. Changing that method from our end will cause php warnings about mismatching method signatures.

@sisve
Copy link
Contributor

sisve commented Dec 13, 2017

Highly relevant: #22202

@ngocnv-0940 ngocnv-0940 deleted the remove_unused_param branch February 24, 2022 04:50
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.

None yet

3 participants