diff --git a/lib/Github/Api/CurrentUser/DeployKeys.php b/lib/Github/Api/CurrentUser/DeployKeys.php index d4f8b080d77..66b51033da5 100644 --- a/lib/Github/Api/CurrentUser/DeployKeys.php +++ b/lib/Github/Api/CurrentUser/DeployKeys.php @@ -44,7 +44,7 @@ public function show($id) * * @param array $params * - * @throws MissingArgumentException + * @throws \Github\Exception\MissingArgumentException * * @return array */ @@ -65,7 +65,7 @@ public function create(array $params) * @param string $id * @param array $params * - * @throws MissingArgumentException + * @throws \Github\Exception\MissingArgumentException * * @return array */ diff --git a/lib/Github/Api/CurrentUser/Emails.php b/lib/Github/Api/CurrentUser/Emails.php index 587aa12c744..9a1ce1e6c6d 100644 --- a/lib/Github/Api/CurrentUser/Emails.php +++ b/lib/Github/Api/CurrentUser/Emails.php @@ -30,7 +30,7 @@ public function all() * * @param string|array $emails * - * @throws InvalidArgumentException + * @throws \Github\Exception\InvalidArgumentException * * @return array */ @@ -52,7 +52,7 @@ public function add($emails) * * @param string|array $emails * - * @throws InvalidArgumentException + * @throws \Github\Exception\InvalidArgumentException * * @return array */ diff --git a/lib/Github/Api/CurrentUser/Memberships.php b/lib/Github/Api/CurrentUser/Memberships.php index c02c0122ef6..650b348ad9f 100644 --- a/lib/Github/Api/CurrentUser/Memberships.php +++ b/lib/Github/Api/CurrentUser/Memberships.php @@ -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) @@ -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) diff --git a/lib/Github/Api/CurrentUser/Notifications.php b/lib/Github/Api/CurrentUser/Notifications.php index 92dc0a570c9..fa575eb8e21 100644 --- a/lib/Github/Api/CurrentUser/Notifications.php +++ b/lib/Github/Api/CurrentUser/Notifications.php @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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