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 47b0678 + f51c5bd commit 4510ac8Copy full SHA for 4510ac8
src/QueryBuilderRequest.php
@@ -38,7 +38,7 @@ public function includes(): Collection
38
39
$includeParts = $this->getRequestData($includeParameterName);
40
41
- if (! is_array($includeParts)) {
+ if (is_string($includeParts)) {
42
$includeParts = explode(static::getIncludesArrayValueDelimiter(), $this->getRequestData($includeParameterName));
43
}
44
@@ -53,7 +53,7 @@ public function appends(): Collection
53
54
$appendParts = $this->getRequestData($appendParameterName);
55
56
- if (! is_array($appendParts)) {
+ if (! is_array($appendParts) && ! is_null($appendParts)) {
57
$appendParts = explode(static::getAppendsArrayValueDelimiter(), $appendParts);
58
59
0 commit comments