Skip to content

Commit a365cd0

Browse files
authored
Update README.md
1 parent e8a0d9b commit a365cd0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)