We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7abb43 commit 81fca60Copy full SHA for 81fca60
src/QueryBuilderRequest.php
@@ -38,8 +38,8 @@ public function includes(): Collection
38
39
$includeParts = $this->getRequestData($includeParameterName);
40
41
- if (! is_array($includeParts)) {
42
- $includeParts = explode(static::getIncludesArrayValueDelimiter(), $this->getRequestData($includeParameterName));
+ if (! is_array($includeParts) && ! is_null($includeParts)) {
+ $includeParts = explode(static::getIncludesArrayValueDelimiter(), $includeParts);
43
}
44
45
return collect($includeParts)->filter();
0 commit comments