diff --git a/src/Cart.php b/src/Cart.php index 7b88520..70f8826 100644 --- a/src/Cart.php +++ b/src/Cart.php @@ -736,7 +736,7 @@ protected function addItem($id, $item) /** * save the cart * - * @param $cart CartCollection + * @param $cart CartCollection */ protected function save($cart) { diff --git a/tests/Unit/CartConditionsTest.php b/tests/Unit/CartConditionsTest.php index cb1d766..495b4b8 100644 --- a/tests/Unit/CartConditionsTest.php +++ b/tests/Unit/CartConditionsTest.php @@ -10,11 +10,11 @@ $events->shouldReceive('dispatch'); $this->cart = new Cart( - new SessionMock(), + new SessionMock, $events, 'cart', 'SAMPLESESSIONKEY', - require(__DIR__ . '/../Helpers/ConfigConditionsMock.php') + require (__DIR__ . '/../Helpers/ConfigConditionsMock.php') ); });