src/FilterSetting/AbstractFromTo.php
private function formatEmpty($value)
    {
        if (empty($value = \trim($value))) {
            return $value;
        }

        return $this->formatValue($value);
    }
private function formatEmpty($value)
    {
        if (empty($value = \trim($value))) {
            return $value;
        }

        return $this->formatValue($value);
    }
private function formatEmpty ( $ value ) { if ( empty ( $ value = \ trim ( $ value ) ) ) { return $ value ; } return $ this -> formatValue ( $ value ) ; }
Format the value but return empty if it is empty.

@param string $value The value to format.

@return bool|string
Format the value but return empty if it is empty .