Skip to content

Commit edd9b1c

Browse files
authored
Merge pull request #969 from chengkangzai/patch-1
Update Documentation for php markdown
2 parents 8c9d597 + ee31e0c commit edd9b1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/features/selecting-fields.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Sometimes you'll want to fetch only a couple fields to reduce the overall size o
99

1010
The following example fetches only the users' `id` and `name`:
1111

12-
```
13-
GET /users?fields[users]=id,name
12+
```php
13+
// GET /users?fields[users]=id,name
1414

1515
$users = QueryBuilder::for(User::class)
1616
->allowedFields(['id', 'name'])

0 commit comments

Comments
 (0)