Skip to content

Revert "Fix Collection::implode with \Stringable objects"#54691

Merged
taylorotwell merged 1 commit into11.xfrom
revert-54630-bugfix/collection-implode-stringable
Feb 19, 2025
Merged

Revert "Fix Collection::implode with \Stringable objects"#54691
taylorotwell merged 1 commit into11.xfrom
revert-54630-bugfix/collection-implode-stringable

Conversation

@crynobone
Copy link
Copy Markdown
Member

Reverts #54630

@crynobone
Copy link
Copy Markdown
Member Author

fixes #54689

@crynobone crynobone added the bug label Feb 19, 2025
@nuernbergerA
Copy link
Copy Markdown
Contributor

i can confirm this fixes the BC
@crynobone i can open a new PR to ensure implode works as it should

@crynobone
Copy link
Copy Markdown
Member Author

@nuernbergerA I believe you should be able to pass the condition for a collection of ArrayAccess instead of checking for Stringable.

It might be best to target 12.x instead.

@nuernbergerA
Copy link
Copy Markdown
Contributor

@crynobone i think you misunderstood me

here is the missing test
#54704

@taylorotwell taylorotwell merged commit ca54da6 into 11.x Feb 19, 2025
@taylorotwell taylorotwell deleted the revert-54630-bugfix/collection-implode-stringable branch February 19, 2025 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants