Skip to content

Work on current user #288

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 1 commit into from
Jul 3, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/Github/Api/CurrentUser/DeployKeys.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function show($id)
*
* @param array $params
*
* @throws MissingArgumentException
* @throws \Github\Exception\MissingArgumentException
*
* @return array
*/
Expand All @@ -65,7 +65,7 @@ public function create(array $params)
* @param string $id
* @param array $params
*
* @throws MissingArgumentException
* @throws \Github\Exception\MissingArgumentException
*
* @return array
*/
Expand Down
4 changes: 2 additions & 2 deletions lib/Github/Api/CurrentUser/Emails.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function all()
*
* @param string|array $emails
*
* @throws InvalidArgumentException
* @throws \Github\Exception\InvalidArgumentException
*
* @return array
*/
Expand All @@ -52,7 +52,7 @@ public function add($emails)
*
* @param string|array $emails
*
* @throws InvalidArgumentException
* @throws \Github\Exception\InvalidArgumentException
*
* @return array
*/
Expand Down
4 changes: 4 additions & 0 deletions lib/Github/Api/CurrentUser/Memberships.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ public function all()
*
* @link https://developer.github.com/v3/orgs/members/#get-your-organization-membership
*
* @param string $organization
*
* @return array
*/
public function organization($organization)
Expand All @@ -35,6 +37,8 @@ public function organization($organization)
*
* @link https://developer.github.com/v3/orgs/members/#edit-your-organization-membership
*
* @param string $organization
*
* @return array
*/
public function edit($organization)
Expand Down
14 changes: 14 additions & 0 deletions lib/Github/Api/CurrentUser/Notifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ public function allInRepository($username, $repository, array $params = array())
}

/**
* Mark all notifications as read.
*
* @link http://developer.github.com/v3/activity/notifications/#mark-as-read
*
* @param array $params
Expand All @@ -53,6 +55,8 @@ public function markAsReadAll(array $params = array())
}

/**
* Mark all notifications for a repository as read.
*
* @link http://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository
*
* @param string $username the user who owns the repo
Expand All @@ -67,6 +71,8 @@ public function markAsReadInRepository($username, $repository, array $params = a
}

/**
* Mark a notification as read.
*
* @link http://developer.github.com/v3/activity/notifications/#mark-a-thread-as-read
*
* @param string $id the notification number
Expand All @@ -80,6 +86,8 @@ public function markAsRead($id, array $params)
}

/**
* Show a notification.
*
* @link http://developer.github.com/v3/activity/notifications/#view-a-single-thread
*
* @param string $id the notification number
Expand All @@ -92,6 +100,8 @@ public function show($id)
}

/**
* Show a subscription.
*
* @link http://developer.github.com/v3/activity/notifications/#get-a-thread-subscription
*
* @param string $id the notification number
Expand All @@ -104,6 +114,8 @@ public function showSubscription($id)
}

/**
* Create a subscription.
*
* @link http://developer.github.com/v3/activity/notifications/#set-a-thread-subscription
*
* @param string $id the notification number
Expand All @@ -117,6 +129,8 @@ public function createSubscription($id, array $params)
}

/**
* Delete a subscription.
*
* @link http://developer.github.com/v3/activity/notifications/#delete-a-thread-subscription
*
* @param string $id the notification number
Expand Down