Skip to content

Commit

Permalink
Fix docblock for collection pluck methods (laravel#51295)
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderMuller authored and func0der committed May 6, 2024
1 parent 9bf099a commit 3667418
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Collections/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ public function last(?callable $callback = null, $default = null)
/**
* Get the values of a given key.
*
* @param string|int|array<array-key, string> $value
* @param string|int|array<array-key, string>|null $value
* @param string|null $key
* @return static<array-key, mixed>
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Eloquent/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ public function pad($size, $value)
/**
* Get an array with the values of a given key.
*
* @param string|array<array-key, string> $value
* @param string|array<array-key, string>|null $value
* @param string|null $key
* @return \Illuminate\Support\Collection<array-key, mixed>
*/
Expand Down

0 comments on commit 3667418

Please sign in to comment.