diff --git a/src/Facades/CartFacade.php b/src/Facades/CartFacade.php index f56f97f..05e1eb9 100644 --- a/src/Facades/CartFacade.php +++ b/src/Facades/CartFacade.php @@ -14,7 +14,7 @@ * * @method static ItemCollection|null get(int|string $itemId) * @method static bool has(int|string $itemId) - * @method static void add(int|string $id, string $name, int|float $price, int $quantity, array $attributes = [], CartCondition|array $conditions = [], string $associatedModel = '') + * @method static self add(string|int|array $id, string|null $name = null, float|null $price = null, int|float|null $quantity = null, array $attributes = [], CartCondition|array $conditions = [], string|null $associatedModel = null) * @method static bool update(int|string $id, array $data) * @method static void remove(int|string $id) * @method static void clear()