From 6ea2cb3b8b93f4fdfa1450871a996040ef08eb31 Mon Sep 17 00:00:00 2001 From: Pixel Tech Date: Sat, 7 Sep 2024 22:36:00 +0000 Subject: [PATCH] Apply Laravel Pint Signed-off-by: Pixel Tech --- src/Cart.php | 2 +- tests/Unit/CartConditionsTest.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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') ); });