Skip to content

Commit 67ad6d7

Browse files
committed
Fix issues with explode using nullable
1 parent 617eb5a commit 67ad6d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/QueryBuilderRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function appends(): Collection
5151

5252
$appendParts = $this->getRequestData($appendParameterName);
5353

54-
if (! is_array($appendParts)) {
54+
if (! is_array($appendParts) && ! is_null($appendParts)) {
5555
$appendParts = explode(static::getAppendsArrayValueDelimiter(), $appendParts);
5656
}
5757

0 commit comments

Comments
 (0)