mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
initiate items as empty array by default.
This commit is contained in:
parent
5edcc8982f
commit
5d898acc05
1 changed files with 1 additions and 0 deletions
|
|
@ -60,6 +60,7 @@ abstract class Cart implements CartInterface
|
|||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->items = array();
|
||||
$this->totalItems = 0;
|
||||
$this->locked = false;
|
||||
$this->incrementExpiresAt();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue