Skip to content
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.

Commit

Permalink
Fix grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyzerner committed Mar 5, 2017
1 parent e3a5bbb commit 78e908f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ A JSON-API Document may contain one primary Element. The primary Element will be

#### Sparse Fieldsets

You can specify which fields (attributes and relationships) to be included on an Element using the `fields` method. You must provide a multidimensional array organized by resource type:
You can specify which fields (attributes and relationships) are to be included on an Element using the `fields` method. You must provide a multidimensional array organized by resource type:

```php
$collection->fields(['posts' => ['title', 'date']]);
Expand Down

0 comments on commit 78e908f

Please sign in to comment.