Skip to content

Commit

Permalink
Fixed id call
Browse files Browse the repository at this point in the history
  • Loading branch information
omnilight committed Jun 18, 2015
1 parent b7f38c1 commit a353090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ShoppingCart.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public function update($position, $quantity)
*/
public function remove($position)
{
$this->removeById($position->id);
$this->removeById($position->getId());
}

/**
Expand Down

0 comments on commit a353090

Please sign in to comment.