Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/Illuminate/Collections/EnumeratesValues.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
use Exception;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Contracts\Support\Jsonable;
use Illuminate\Collections\Arr;
use Illuminate\Collections\Enumerable;
use Illuminate\Collections\HigherOrderCollectionProxy;
use JsonSerializable;
use Symfony\Component\VarDumper\VarDumper;
use Traversable;
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Collection extends BaseCollection
*/
public function collect()
{
return new Collection($this->all());
return new self($this->all());
}

/**
Expand Down