8000 Fix typo in code snippet · acorncom/laravel-json-api@603a214 · GitHub
[go: up one dir, main page]

Skip to content

Commit 603a214

Browse files
authored
Fix typo in code snippet
1 parent 7c8972b commit 603a214

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/features/helpers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ This helper returns a generator that allows you to create JSON API link objects
7575
/** @var \Neomerx\JsonApi\Contracts\Document\LinkInterface $link */
7676
$link = json_api('v1')->links()->index('posts');
7777
$meta = ['foo' => 'bar'];
78-
$link = json_api('v1)->links()->index('posts', $meta);
78+
$link = json_api('v1')->links()->index('posts', $meta);
7979
```
8080

8181
The following methods on the links generator create links for resources within your API:

0 commit comments

Comments
 (0)
0