Skip to content

Conversation

@alexanderholman
Copy link
Contributor

Duplicate code existed for adding member to an organisation

Under lib/Github/Api/Organisation/Members.php the addMember and add
methods returned the exact same code and used the exact same arguments.

With that in mind I made addMember an "alias" returning $this->add
passing the same arguments through.

Duplicate code existed for adding member to an organisation

Under lib/Github/Api/Organisation/Members.php the addMember and add
methods returned the exact same code and used the exact same arguments.

With that in mind I made addMember an "alias" returning $this->add
passing the same arguments through.
@cursedcoder cursedcoder merged commit 32e7fb7 into KnpLabs:master Dec 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants