Skip to content

Commit

Permalink
Minor phpdoc update.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Sep 1, 2019
1 parent a69e246 commit 724c166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ public function walk(callable ...$callbacks): BaseInterface
*/
public static function with($data = []): BaseInterface
{
return parent::with($data);
return new Collection($data);
}

/**
Expand Down

0 comments on commit 724c166

Please sign in to comment.