Skip to content

Conversation

@Baris-Sariusta
Copy link
Contributor

This pull request updates the docblock of Illuminate\Support\Collection::pluck().

Callable support was added to Arr::pluck() (see #56188), so Collection::pluck() also
accepts callables for $value and $key. The current docblock does not reflect this,
causing false-positive IDE/static analysis errors.

@taylorotwell taylorotwell merged commit 5b61771 into laravel:12.x Sep 26, 2025
60 of 63 checks passed
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.

3 participants