Skip to content

Wrong method call  #789

Description

@sordev

$client->user() and $client->users() calls $api = new Api\User($this);
when
$client->me(),current_user(),currentUser() calls $api = new Api\CurrentUser($this);

Api\User->keys() requires user name and returns array can't create keys
Api\CurrentUser->keys() won't need username and return Object will be able to create keys

File: https://github.com/KnpLabs/php-github-api/blob/master/doc/currentuser/publickeys.md
Too small to request pull.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions