Skip to content

Commit

Permalink
Make pagination linkCollection() method public (#36959)
Browse files Browse the repository at this point in the history
  • Loading branch information
reinink authored Apr 13, 2021
1 parent 314bf87 commit b72479a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Pagination/LengthAwarePaginator.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function render($view = null, $data = [])
*
* @return \Illuminate\Support\Collection
*/
protected function linkCollection()
public function linkCollection()
{
return collect($this->elements())->flatMap(function ($item) {
if (! is_array($item)) {
Expand Down

0 comments on commit b72479a

Please sign in to comment.