Skip to content

Conversation

@xcaptain
Copy link
Contributor

@xcaptain xcaptain commented Jul 2, 2017

refer to my pull request in ErickTamayo/laravel-scout-elastic#66

collect([0 => ['id' => 1], 1 => ['id' => 2], 2 => null, 3 => ['id' => 3]])->filter()

would get

collect([0 => ['id' => 1], 1 => ['id' => 2], 3 => ['id' => 3]])

which would make paginate() returned an object rather than list.

@taylorotwell taylorotwell merged commit 3b177e2 into laravel:3.0 Jul 2, 2017
@xcaptain xcaptain deleted the patch-1 branch July 3, 2017 03:16
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.

2 participants