Skip to content
Permalink
Browse files

Using unwrap in another place

  • Loading branch information...
lorenzo committed May 10, 2015
1 parent fe03005 commit 5c198c69d1f0757fee33825c2c2cb11d33815145
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Collection/CollectionTrait.php
@@ -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);
}

0 comments on commit 5c198c6

Please sign in to comment.
You can’t perform that action at this time.