protected function buildCondition(ConditionGroupContract $group, $key, $value)
    {

        if (is_array($value)) {
            return $group->where($key, 'in', $value);
        }

        if (is_numeric($value)) {
            return $group->where($key, '=', $value);
        }

        if (Type::isStringLike($value)) {
            return $group->where($key, 'like', "$value");
        }

        return $group->where($key, $value);

    }