We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23fbf48 commit 0c9afc8Copy full SHA for 0c9afc8
docs/search/criteria_reference/languagecode_criterion.md
@@ -45,14 +45,13 @@ You can use the `LanguageCode` Criterion to search for articles that are lacking
45
into a specific language:
46
47
``` php hl_lines="5"
48
-$query = new LocationQuery;
+$query = new Query();
49
$query->query = new Criterion\LogicalAnd([
50
new Criterion\ContentTypeIdentifier('article'),
51
new Criterion\LogicalNot(
52
new Criterion\LanguageCode('ger-DE', false)
53
)
54
- ]
55
-);
+]);
56
57
$results = $this->searchService->findContent($query);
58
$articles = [];
0 commit comments