From 466f0f170f43180846c822d43b447b078cd57189 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Tue, 18 Nov 2025 14:01:58 +0100 Subject: [PATCH 1/2] Adjusted code highlight --- docs/discounts/discounts_api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/discounts/discounts_api.md b/docs/discounts/discounts_api.md index b14d871a66..d080592327 100644 --- a/docs/discounts/discounts_api.md +++ b/docs/discounts/discounts_api.md @@ -114,7 +114,7 @@ The example below contains a Command creating a cart discount. The discount: - 2 products - a `summer10` [discount code](#discount-codes) which can be used only 10 times, but a single customer can use the code multiple times -``` php hl_lines="60-67 69-97" +``` php hl_lines="46-53 55-83" [[= include_file('code_samples/discounts/src/Command/ManageDiscountsCommand.php') =]] ``` From 62cfcd08774375b8230a19af1d076f69686f3766 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Tue, 18 Nov 2025 14:32:52 +0100 Subject: [PATCH 2/2] Update docs/discounts/discounts_api.md --- docs/discounts/discounts_api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/discounts/discounts_api.md b/docs/discounts/discounts_api.md index d080592327..c659df435d 100644 --- a/docs/discounts/discounts_api.md +++ b/docs/discounts/discounts_api.md @@ -114,7 +114,7 @@ The example below contains a Command creating a cart discount. The discount: - 2 products - a `summer10` [discount code](#discount-codes) which can be used only 10 times, but a single customer can use the code multiple times -``` php hl_lines="46-53 55-83" +``` php hl_lines="46-53 55-81 83" [[= include_file('code_samples/discounts/src/Command/ManageDiscountsCommand.php') =]] ```