From e672cdd971fa405edcf2e31603a2b38a2e20e50d Mon Sep 17 00:00:00 2001 From: klemens Date: Mon, 18 Jul 2016 20:14:30 +0200 Subject: [PATCH] trivial spelling fixes --- doc/activity.md | 2 +- doc/organization/webhooks.md | 2 +- doc/users.md | 2 +- lib/Github/Api/GitData/Blobs.php | 2 +- lib/Github/Api/Meta.php | 2 +- lib/Github/Api/Organization.php | 2 +- lib/Github/Api/Repo.php | 4 ++-- lib/Github/Api/User.php | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/activity.md b/doc/activity.md index 6f1429e157d..81b35d47973 100644 --- a/doc/activity.md +++ b/doc/activity.md @@ -73,7 +73,7 @@ $owner = "KnpLabs"; $repo = "php-github-api"; $activity = $client->api('current_user')->watchers()->check($owner, $repo); ``` -Throws an Exception with code 404 in case that the repo is not beeing watched by the authenticated user or NULL in case that it is beeing watched by the authenticated user. +Throws an Exception with code 404 in case that the repo is not being watched by the authenticated user or NULL in case that it is being watched by the authenticated user. ### Watch a specific repo for authenticated user diff --git a/doc/organization/webhooks.md b/doc/organization/webhooks.md index 842ebe432b4..83898603c16 100644 --- a/doc/organization/webhooks.md +++ b/doc/organization/webhooks.md @@ -72,7 +72,7 @@ $success = $client->organization()->update('KnpLabs', 123, array( Update an existing webhook with ID 123 for the organization. *url* parameter is required. -In case of success, an array of informations about the webhook will be returned. +In case of success, an array of information about the webhook will be returned. ### Ping a webhook for an organization diff --git a/doc/users.md b/doc/users.md index 4aa3d864673..b6c36309d70 100644 --- a/doc/users.md +++ b/doc/users.md @@ -36,7 +36,7 @@ $user = $client->api('user')->show('KnpLabs'); Returns an array of information about the user. -### Update user informations +### Update user information > Requires [authentication](security.md). diff --git a/lib/Github/Api/GitData/Blobs.php b/lib/Github/Api/GitData/Blobs.php index fe9cfc6123a..2819713fb99 100644 --- a/lib/Github/Api/GitData/Blobs.php +++ b/lib/Github/Api/GitData/Blobs.php @@ -12,7 +12,7 @@ class Blobs extends AbstractApi { /** - * Configure the Acccept header depending on the blob type. + * Configure the Accept header depending on the blob type. * * @param string|null $bodyType */ diff --git a/lib/Github/Api/Meta.php b/lib/Github/Api/Meta.php index 73a43301f9e..fa3668af98a 100644 --- a/lib/Github/Api/Meta.php +++ b/lib/Github/Api/Meta.php @@ -13,7 +13,7 @@ class Meta extends AbstractApi /** * Get the ip address of the hook and git servers for the GitHub.com service. * - * @return array Informations about the service of GitHub.com + * @return array Information about the service of GitHub.com */ public function service() { diff --git a/lib/Github/Api/Organization.php b/lib/Github/Api/Organization.php index 536a73c8c2e..3f0321aefe5 100644 --- a/lib/Github/Api/Organization.php +++ b/lib/Github/Api/Organization.php @@ -32,7 +32,7 @@ public function all($since = '') * * @param string $organization the organization to show * - * @return array informations about the organization + * @return array information about the organization */ public function show($organization) { diff --git a/lib/Github/Api/Repo.php b/lib/Github/Api/Repo.php index 09784358831..9d98c3f1fe5 100644 --- a/lib/Github/Api/Repo.php +++ b/lib/Github/Api/Repo.php @@ -111,7 +111,7 @@ public function org($organization, array $params = array()) * @param string $username the user who owns the repository * @param string $repository the name of the repository * - * @return array informations about the repository + * @return array information about the repository */ public function show($username, $repository) { @@ -177,7 +177,7 @@ public function create( * @param string $repository the name of the repository * @param array $values the key => value pairs to post * - * @return array informations about the repository + * @return array information about the repository */ public function update($username, $repository, array $values) { diff --git a/lib/Github/Api/User.php b/lib/Github/Api/User.php index 888eb9dfed4..dd5ee1b2737 100644 --- a/lib/Github/Api/User.php +++ b/lib/Github/Api/User.php @@ -50,7 +50,7 @@ public function all($id = null) * * @param string $username the username to show * - * @return array informations about the user + * @return array information about the user */ public function show($username) {