Skip to content

Commit 746565d

Browse files
[Docs] Merge pull request #310 from balaianu/patch-1
Fix typo in code snippet
2 parents 7c8972b + 603a214 commit 746565d

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)