Skip to content

Commit

Permalink
Fix prepend() issue
Browse files Browse the repository at this point in the history
  • Loading branch information
RemiCollin committed Nov 18, 2015
1 parent dfba632 commit 5fd45e3
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/EntityCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,6 @@ public function remove($entity)
return $this->pull($key);
}

/**
* Push an item onto the beginning of the collection.
*
* @param mixed $value
* @return void
*/
public function prepend($value)
{
array_unshift($this->items, $value);
}

/**
* Push an item onto the end of the collection.
*
Expand Down

0 comments on commit 5fd45e3

Please sign in to comment.