Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Container*::getServiceIds() should return strings#32563
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Tobion commentedJul 16, 2019
as a bug fix this would need to be in 3.4 |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
| publicfunctiongetServiceIds() | ||
| { | ||
| returnarray_unique(array_merge(['service_container'],array_keys($this->fileMap),array_keys($this->methodMap),array_keys($this->services))); | ||
| returnarray_map(function($id) {return (string)$id;},array_unique(array_merge(['service_container'],array_keys($this->fileMap),array_keys($this->methodMap),array_keys($this->services)))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
array_map('strval', ...)
0699716 tobe9c0fbComparemathroc commentedJul 16, 2019
thank for the review. I've rebased on 3.4 and address the comments here, let me know if anything else is needed |
fabpot commentedJul 17, 2019
Thank you@mathroc. |
This PR was merged into the 3.4 branch.Discussion----------Container*::getServiceIds() should return strings| Q | A| ------------- | ---| Branch? | 4.3| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | o| Tests pass? | yes| Fixed tickets |#32549| License | MITCast services ids to string in `Container*::getServiceIds()`Commits-------9c88caa Container*::getServiceIds() should return an array of string
Cast services ids to string in
Container*::getServiceIds()