Loading src/Filter/Range.php +3 −2 Original line number Diff line number Diff line Loading @@ -13,7 +13,8 @@ final class Range extends HttpFilter /** @throws FilterParameterValueIsNullException */ public function addToQuery(QueryBuilder $queryBuilder): QueryBuilder { if (! isset($this->getHttpValue()['min']) && ! isset($this->getHttpValue()['max'])) { if ((! isset($this->getHttpValue()['min']) && ! isset($this->getHttpValue()['max'])) || (! is_numeric($this->getHttpValue()['min']) && ! is_numeric($this->getHttpValue()['max']))) { throw new FilterParameterValueIsNullException($this->field); } Loading Loading
src/Filter/Range.php +3 −2 Original line number Diff line number Diff line Loading @@ -13,7 +13,8 @@ final class Range extends HttpFilter /** @throws FilterParameterValueIsNullException */ public function addToQuery(QueryBuilder $queryBuilder): QueryBuilder { if (! isset($this->getHttpValue()['min']) && ! isset($this->getHttpValue()['max'])) { if ((! isset($this->getHttpValue()['min']) && ! isset($this->getHttpValue()['max'])) || (! is_numeric($this->getHttpValue()['min']) && ! is_numeric($this->getHttpValue()['max']))) { throw new FilterParameterValueIsNullException($this->field); } Loading