Skip to content

Conversation

@devfrey
Copy link
Contributor

@devfrey devfrey commented Sep 26, 2024

I ran into an issue where PHPStan didn't check if the callable parameters for implode() matched the types of my collection. I've documented the callable types for Collection::implode() and LazyCollection::implode(). These methods forward the callable to map(), which is documented as callable(TValue, TKey): TMapValue.

@taylorotwell taylorotwell merged commit 28ff0e3 into laravel:11.x Sep 27, 2024
32 checks passed
@devfrey devfrey deleted the generic-implode branch September 27, 2024 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants