src/Utility/Search.php
protected function getEmptyWhereCondition(string $field, array $criteria): array
    {
        $emptyCriteria = $this->searchFields[$field]['operators'][$criteria['operator']]['emptyCriteria'];

        $result = [];
        foreach ($emptyCriteria['values'] as $value) {
            $result[$emptyCriteria['aggregator']][] = $field . ' ' . trim($value);
        }

        return $result;
    }
protected function getEmptyWhereCondition(string $field, array $criteria): array
    {
        $emptyCriteria = $this->searchFields[$field]['operators'][$criteria['operator']]['emptyCriteria'];

        $result = [];
        foreach ($emptyCriteria['values'] as $value) {
            $result[$emptyCriteria['aggregator']][] = $field . ' ' . trim($value);
        }

        return $result;
    }
protected function getEmptyWhereCondition ( string $ field , array $ criteria ) : array { $ emptyCriteria = $ this -> searchFields [ $ field ] [ 'operators' ] [ $ criteria [ 'operator' ] ] [ 'emptyCriteria' ] ; $ result = [ ] ; foreach ( $ emptyCriteria [ 'values' ] as $ value ) { $ result [ $ emptyCriteria [ 'aggregator' ] ] [ ] = $ field . ' ' . trim ( $ value ) ; } return $ result ; }
Prepare and return where statement condition for empty value.

@param string $field Field name
@param mixed[] $criteria Criteria properties
@return mixed[]
Prepare and return where statement condition for empty value .