You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -438,7 +438,7 @@ GET /posts?include=author&fields[posts]=title,excerpt&fields[users]=name
438
438
439
439
Resources return a maximal attribute payload when [sparse fieldsets](#sparse-fieldsets) are not in use i.e. all declared attributes on the resource are returned. If you prefer you can make the use of sparse fieldsets required in order to retrieve _any_ attributes.
440
440
441
-
You may call the `minimalAttributes()` method in an application service provider.
441
+
You may call the `useMinimalAttributes()` method in an application service provider.
442
442
443
443
```php
444
444
<?php
@@ -452,7 +452,7 @@ class AppServiceProvider extends ServiceProvider
0 commit comments