-
Notifications
You must be signed in to change notification settings - Fork 15
array_diff_multidimensional helper function #21
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
Conversation
Co-authored-by: William Desportes <[email protected]>
Kudos, SonarCloud Quality Gate passed!
|
Kudos, SonarCloud Quality Gate passed!
|
It bothers me that this is defined as a global function instead of a function in the |
Hi @shadowhand, this is an interesting point of view. The idea is to have access to Since the original class is already namespaced, it can be used in case there is a conflict with the global helper. Anyway, if you find a corner case related to the global helper function, do not hesitate to open an issue or even a PR. Thank you very much for your feedback! |
@rogervila my reasoning is pretty simple: I have no problem with having a helper function, but using a polyfill approach ( |
Adds a global
array_diff_multidimensional()
helper function.