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.
2 parents e7abb43 + 353c534 commit 2970e54Copy full SHA for 2970e54
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_string($includeParts)) {
+ $includeParts = explode(static::getIncludesArrayValueDelimiter(), $includeParts);
43
}
44
45
return collect($includeParts)->filter();
0 commit comments