Skip to content

Body not required to create an issue #624

Closed
@bobeagan

Description

@bobeagan

https://developer.github.com/v3/issues/#create-an-issue shows that only title is required.

public function create($username, $repository, array $params)
{
if (!isset($params['title'], $params['body'])) {
throw new MissingArgumentException(array('title', 'body'));
}
return $this->post('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/issues', $params);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions