You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: project_helper.rb
    path of file: ./repos/open-build-service/src/api/app/helpers/webui/staging
    
    the code of the file until where you have to start completion: module Webui::Staging::ProjectHelper
  def ico
    
  def icon_for_checks(checks, missing_checks)
    return 'fa-eye text-info' if missing_checks.present?
    return 'fa-check-circle text-primary' if checks.blank?
    return 'fa-eye text-info' if checks.any?(&:pending?)
    return 'fa-check-circle text-primary' if checks.all?(&:success?)

    'fa-exclamation-circle text-danger'
  end