def edit(*args)
      arguments(args, required: [:user, :repo, :number]) do
        permit VALID_ISSUE_PARAM_NAMES
      end

      patch_request("/repos/#{arguments.user}/#{arguments.repo}/issues/#{arguments.number}", arguments.params)
    end
def edit(*args)
      arguments(args, required: [:user, :repo, :number]) do
        permit VALID_ISSUE_PARAM_NAMES
      end

      patch_request("/repos/#{arguments.user}/#{arguments.repo}/issues/#{arguments.number}", arguments.params)
    end
Edit an issue

 @param [Hash] params
 @option params [String] :title
   Optional string
 @option params [String] :body
   Optional string
 @option params [String] :assignee
   Optional string - Login for the user that this issue should be assigned to.
 @option params [String] :state
   Optional string - State of the issue: open or closed
 @option params [Number] :milestone
   Optional number - Milestone to associate this issue with
 @option params [Array[String]] :labels
   Optional array of strings - Labels to associate with this issue.
   Pass one or more Labels to replace the set of Labels on this Issue.
   Send an empty array ([]) to clear all Labels from the Issue.

 @example
  github = Github.new
  github.issues.edit 'user-name', 'repo-name', 'number'
    title: "Found a bug",
    body: "I'm having a problem with this.",
    assignee: "octocat",
    milestone: 1,
    labels": [
      "Label1",
      "Label2"
    ]

 @api public