private static function checkInlineOperator(&$operator, &$value, $settings = [])
    {
        if (is_array($value)) {
            return;
        }

        // Boolean does not provide inline operations.
        if (Arr::get($settings, 'filter') === 'boolean') {
            return;
        }

        $value_array = explode(' ', trim($value), 2);

        if (count($value_array) == 1) {
            return;
        }

        $check_operator = array_shift($value_array);

        if (self::checkOperator(Arr::get($settings, 'filter', 'string'), $check_operator)) {
            $operator = $check_operator;
            $value = array_shift($value_array);
        }
    }