Skip to content

Commit

Permalink
fixed default Cart _positions to be [] <- null
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Feb 4, 2016
1 parent bec2973 commit 2a44a12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ShoppingCart.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ShoppingCart extends \yz\shoppingcart\ShoppingCart
/**
* @var AbstractCartPosition[]
*/
protected $_positions;
protected $_positions = [];

/**
* The cart module.
Expand Down

0 comments on commit 2a44a12

Please sign in to comment.