From f8f2b47eeaaf7606a6e707e42030dda5f969412f Mon Sep 17 00:00:00 2001 From: Steve <34465153+xxl4@users.noreply.github.com> Date: Tue, 17 Dec 2024 10:56:05 +0800 Subject: [PATCH] cover array to object --- .../Controllers/Marketing/Promotions/CartRuleController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Docs/V1/Admin/Controllers/Marketing/Promotions/CartRuleController.php b/src/Docs/V1/Admin/Controllers/Marketing/Promotions/CartRuleController.php index 344fcb7..cdac7da 100644 --- a/src/Docs/V1/Admin/Controllers/Marketing/Promotions/CartRuleController.php +++ b/src/Docs/V1/Admin/Controllers/Marketing/Promotions/CartRuleController.php @@ -681,7 +681,7 @@ public function getConditionAttributes() * ), * @OA\Property( * property="rules", - * type="array", + * type="object", * description="Rules", * example={{ * "value": "2",