Skip to content

Commit d7df236

Browse files
committed
Self review: hl_lines
1 parent ee61523 commit d7df236

9 files changed

Lines changed: 10 additions & 10 deletions

File tree

docs/administration/back_office/browser/browser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ If an event listener catches additional parameters passed with context, it uses
146146

147147
In the example below, the `johndoe` parameter enables the user to choose multiple items from a **Browser window** by changing `multiple: false` from `my_custom_udw` configuration to `multiple: true`.
148148

149-
```php hl_lines="31 32 33"
149+
```php hl_lines="31-34"
150150
<?php
151151
152152
use Ibexa\AdminUi\UniversalDiscovery\Event\ConfigResolveEvent;

docs/multisite/languages/back_office_translations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The method takes as arguments:
5858
- domain of the string
5959

6060
Here's an example:
61-
``` php hl_lines="14-16"
61+
``` php hl_lines="12-14"
6262
use Symfony\Contracts\Translation\TranslatorInterface;
6363
6464
final readonly class MyService

docs/search/criteria_reference/contenttypegroupid_criterion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ $query->query = new Criterion\ContentTypeGroupId([1, 2]);
4949
You can use the `ContentTypeGroupId` Criterion to query all Media content items
5050
(the default ID for the Media content type group is 3):
5151

52-
``` php hl_lines="1"
52+
``` php hl_lines="6"
5353
use Ibexa\Contracts\Core\Repository\SearchService;
5454
use Ibexa\Contracts\Core\Repository\Values\Content\Query;
5555
use Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion;

docs/search/criteria_reference/datemetadata_criterion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ $query->query = new Criterion\DateMetadata(
6262

6363
You can use the `DateMetadata` Criterion to search for blog posts that have been created within the last week:
6464

65-
``` php hl_lines="5"
65+
``` php hl_lines="9"
6666
use Ibexa\Contracts\Core\Repository\Values\Content\LocationQuery;
6767
use Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion;
6868

docs/search/criteria_reference/field_criterion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ $query->query = new Criterion\Field('name', Criterion\Operator::CONTAINS, 'Platf
6969

7070
You can use the `Field` Criterion to search for articles that contain the word "featured":
7171

72-
``` php hl_lines="4"
72+
``` php hl_lines="8"
7373
use Ibexa\Contracts\Core\Repository\Values\Content\LocationQuery;
7474
use Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion;
7575

docs/search/criteria_reference/isfieldempty_criterion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ $query->query = new Criterion\IsFieldEmpty('title');
3737

3838
You can use the `IsFieldEmpty` Criterion to search for articles that don't have an image:
3939

40-
``` php hl_lines="4"
40+
``` php hl_lines="8"
4141
use Ibexa\Contracts\Core\Repository\Values\Content\LocationQuery;
4242
use Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion;
4343

docs/search/criteria_reference/parentlocationid_criterion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ $query->query = new Criterion\ParentLocationId([54, 58]);
4949

5050
You can use the `ParentLocationId` Search Criterion to list blog posts contained in a blog:
5151

52-
``` php hl_lines="4"
52+
``` php hl_lines="9"
5353
use Ibexa\Contracts\Core\Repository\Values\Content\LocationQuery;
5454
use Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion;
5555

docs/search/criteria_reference/usermetadata_criterion.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ $query->query = new Criterion\UserMetadata(Criterion\UserMetadata::GROUP, Criter
6060

6161
You can use the `UserMetadata` Criterion to search for blog posts created by the Contributor user group:
6262

63-
``` php hl_lines="10"
64-
// ID of your custom Contributor User Group
63+
``` php hl_lines="11"
6564
use Ibexa\Contracts\Core\Repository\Values\Content\LocationQuery;
6665
use Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion;
6766

67+
// ID of your custom Contributor User Group
6868
$contributorGroupId = 32;
6969

7070
$query = new LocationQuery();

docs/tutorials/beginner_tutorial/5_display_a_list_of_content_items.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ For more information, see [Built-In Query Types](built-in_query_types.md).
5757
Here, you need to display `ride` objects that have been published (are visible).
5858
Create a `RideQueryType.php` file in `src/QueryType`:
5959

60-
``` php hl_lines="21 22"
60+
``` php hl_lines="22-23"
6161
<?php
6262

6363
namespace App\QueryType;

0 commit comments

Comments
 (0)