Skip to content

Commit a465bc6

Browse files
authored
Merge pull request #97 from carlcs/patch-2
Update README.md
2 parents 10499ab + a365cd0 commit a465bc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ Possible values are:
245245
The [include names](http://fractal.thephpleague.com/transformers/#including-data) that should be included for the current request, if any.
246246

247247
```php
248-
'includes' => Craft::$app->request->getQueryParam('include'),
248+
'includes' => (array)Craft::$app->request->getQueryParam('include'),
249249
```
250250

251251
Note that this setting requires a custom transformer class that’s prepped to handle includes:

0 commit comments

Comments
 (0)