diff --git a/docs/guide/db-query-builder.md b/docs/guide/db-query-builder.md index f2d4248479..c915c416b8 100644 --- a/docs/guide/db-query-builder.md +++ b/docs/guide/db-query-builder.md @@ -879,10 +879,10 @@ Using the operator format, it would look like the following: ```php [ 'and', - '>', 'posts', $minLimit, - '>', 'comments', $minLimit, - '>', 'reactions', $minLimit, - '>', 'subscriptions', $minLimit + ['>', 'posts', $minLimit], + ['>', 'comments', $minLimit], + ['>', 'reactions', $minLimit], + ['>', 'subscriptions', $minLimit] ] ```