Skip to content

Commit 32527fc

Browse files
committed
fix: use http codeblock
1 parent fb72e1e commit 32527fc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

laravel/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ and when we request a Book we obtain:
305305

306306
To create a Book related to an author, you should use IRIs to reference the relation:
307307

308-
```json
308+
```http
309309
PATCH /api/books/1
310310
Content-Type: application/merge-patch+json
311311
@@ -421,7 +421,6 @@ php artisan db:seed
421421
```
422422

423423
> [!NOTE]
424-
>
425424
> The `fake()` helper provided by Laravel lets you generate different types of random data for testing and seeding purposes. It uses [the Faker library](https://fakerphp.org), which has been created by François Zaninotto.
426425
> François is also a member of the API Platform Core Team.
427426
> He maintains [API Platform Admin](../admin/index.md), a tool built on top of his popular [React-Admin](https://marmelab.com/react-admin/) library that makes creating admin interfaces consuming your API data super easy.

0 commit comments

Comments
 (0)