Skip to content

[WIP] Big refactoring #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 19, 2012
Merged

[WIP] Big refactoring #8

merged 2 commits into from
Jul 19, 2012

Conversation

stloyd
Copy link
Contributor

@stloyd stloyd commented Jul 17, 2012

It closes:

use Github\Api\CurrentUser\Emails;
use Github\Api\CurrentUser\Followers;
use Github\Api\CurrentUser\Watchers;
use Github\Exception\MissingArgumentException;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not used below

@leevigraham leevigraham mentioned this pull request Jul 17, 2012
*
* @throws MissingArgumentException
*/
public function update($key, array $params)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$key is quite confusing cause we have key in params array too. Maybe use $keyId instead ? (This same for remove and show)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cleaned this, and many similar. Used mostly $id instead of $key / $number etc., also renamed $repo to $repository to be more consistent.

stloyd added a commit that referenced this pull request Jul 19, 2012
@stloyd stloyd merged commit 2e75407 into master Jul 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants