From a1e6cd9aa2859f4d669a976ef1aba1a96b7f99d8 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Wed, 20 Aug 2025 09:14:17 +0200 Subject: [PATCH 1/2] page_block_attributes.md: Fix hl_lines Follow #2864 --- docs/content_management/pages/page_block_attributes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content_management/pages/page_block_attributes.md b/docs/content_management/pages/page_block_attributes.md index bc2ef3eef3..7344c22b9e 100644 --- a/docs/content_management/pages/page_block_attributes.md +++ b/docs/content_management/pages/page_block_attributes.md @@ -70,7 +70,7 @@ for example `AbstractType` for any custom type or `IntegerType` for numeric type To define the type, create a `src/Block/Attribute/MyStringAttributeType.php` file: -``` php hl_lines="5 6 15" +``` php hl_lines="5 6 17" [[= include_file('code_samples/page/custom_attribute/src/Block/Attribute/MyStringAttributeType.php') =]] ``` From 0812607292d7632e60c4e6d67909120c6d9a6db7 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Mon, 25 Aug 2025 14:28:40 +0200 Subject: [PATCH 2/2] Update search_api.md --- docs/search/search_api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/search/search_api.md b/docs/search/search_api.md index de1c1bca69..2f4a1575c1 100644 --- a/docs/search/search_api.md +++ b/docs/search/search_api.md @@ -26,7 +26,7 @@ For example, to search for all content of a selected content type, use one Crite The following command takes the content type identifier as an argument and lists all results: -``` php hl_lines="12 14" +``` php hl_lines="11 13" // ... [[= include_file('code_samples/api/public_php_api/src/Command/FindContentCommand.php', 4, 7) =]]// ... [[= include_file('code_samples/api/public_php_api/src/Command/FindContentCommand.php', 14, 18) =]] // ...