Skip to content

Commit 1ba81fc

Browse files
authored
Update QueryBuilderRequest.php
1 parent efe4f73 commit 1ba81fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/QueryBuilderRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,11 @@ public function filters(): Collection
106106
/**
107107
* @param $value
108108
*
109-
* @return array|bool
109+
* @return array|bool|null
110110
*/
111111
protected function getFilterValue($value)
112112
{
113-
if ($value === null || $value === '') {
113+
if (empty($value)) {
114114
return $value;
115115
}
116116

0 commit comments

Comments
 (0)