Skip to content

Commit

Permalink
Using unwrap in another place
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed May 10, 2015
1 parent fe03005 commit 5c198c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Collection/CollectionTrait.php
Expand Up @@ -317,7 +317,7 @@ public function first()
public function append($items)
{
$list = new AppendIterator;
$list->append($this);
$list->append($this->unwrap());
$list->append((new Collection($items))->unwrap());
return new Collection($list);
}
Expand Down

0 comments on commit 5c198c6

Please sign in to comment.