Skip to content

Commit

Permalink
Document callable types for Enumerable::implode() (#52937)
Browse files Browse the repository at this point in the history
  • Loading branch information
devfrey authored Sep 27, 2024
1 parent 465044f commit 4d333ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ public function hasAny($key)
/**
* Concatenate values of a given key as a string.
*
* @param callable|string|null $value
* @param (callable(TValue, TKey): mixed)|string|null $value
* @param string|null $glue
* @return string
*/
Expand Down
2 changes: 1 addition & 1 deletion Enumerable.php
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ public function hasAny($key);
/**
* Concatenate values of a given key as a string.
*
* @param callable|string $value
* @param (callable(TValue, TKey): mixed)|string $value
* @param string|null $glue
* @return string
*/
Expand Down
2 changes: 1 addition & 1 deletion LazyCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ public function hasAny($key)
/**
* Concatenate values of a given key as a string.
*
* @param callable|string $value
* @param (callable(TValue, TKey): mixed)|string $value
* @param string|null $glue
* @return string
*/
Expand Down

0 comments on commit 4d333ea

Please sign in to comment.