commit() публичный Метод

Actually creates the issue on Github, returns an array with the issue's number and URL.
public commit ( $yourUsername, $yourPassword, $targetRepoAuthor, $targetRepoName ) : array
$yourUsername
$yourPassword
$targetRepoAuthor
$targetRepoName
Результат array
Пример #1
0
 /**
  * Create an issue from the sent request
  * @param null $message
  * @param null $code
  * @param null $severity
  * @param null $path
  * @param null $lineno
  * @param null $trace
  * @return array
  * @throws ErrorException
  * @throws InvalidArgumentException
  * @throws MissingArgumentException
  * @throws ParseException
  */
 public static function create($message = null, $code = null, $severity = null, $path = null, $lineno = null, $trace = null)
 {
     static::loadConfig();
     if (null === array_unique([$message, $code, $severity, $path, $lineno, $trace])) {
         throw new ErrorException('At least one parameter must be set.');
     }
     $issue = new GithubIssue($message, $code, $severity, $path, $lineno, $trace);
     return $issue->commit(static::$config['you']['username'], static::$config['you']['password'], static::$config['repo']['author'], static::$config['repo']['name']);
 }