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 5c6e514 + 1ba81fc commit 652d162Copy full SHA for 652d162
src/QueryBuilderRequest.php
@@ -106,10 +106,14 @@ public function filters(): Collection
106
/**
107
* @param $value
108
*
109
- * @return array|bool
+ * @return array|bool|null
110
*/
111
protected function getFilterValue($value)
112
{
113
+ if (empty($value)) {
114
+ return $value;
115
+ }
116
+
117
if (is_array($value)) {
118
return collect($value)->map(function ($valueValue) {
119
return $this->getFilterValue($valueValue);
0 commit comments