Skip to content

Commit 35d4187

Browse files
committed
Fixed references to Github
1 parent 8e3e3e3 commit 35d4187

File tree

3 files changed

+6
-11
lines changed

3 files changed

+6
-11
lines changed

lib/Gitlab/Client.php

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,7 @@
1212
use Gitlab\HttpClient\Listener\AuthListener;
1313

1414
/**
15-
* Simple yet very cool PHP GitHub client
16-
*
17-
* @author Joseph Bielawski <[email protected]>
18-
*
19-
* Website: http://github.com/KnpLabs/php-github-api
15+
* Simple API wrapper for Gitlab
2016
*/
2117
class Client
2218
{
@@ -43,14 +39,14 @@ class Client
4339
private $base_url = null;
4440

4541
/**
46-
* The Buzz instance used to communicate with GitHub
42+
* The Buzz instance used to communicate with Gitlab
4743
*
4844
* @var HttpClient
4945
*/
5046
private $httpClient;
5147

5248
/**
53-
* Instantiate a new GitHub client
49+
* Instantiate a new Gitlab client
5450
*
5551
* @param null|ClientInterface $httpClient Buzz client
5652
*/
@@ -120,8 +116,7 @@ public function api($name)
120116
/**
121117
* Authenticate a user for all next requests
122118
*
123-
* @param string $tokenOrLogin GitHub private token/username/client ID
124-
* @param null|string $password GitHub password/secret
119+
* @param string $token Gitlab private token
125120
* @param null|string $authMethod One of the AUTH_* class constants
126121
*/
127122
public function authenticate($token, $authMethod = null)

lib/Gitlab/HttpClient/HttpClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Gitlab\HttpClient\Message\Response;
1515

1616
/**
17-
* Performs requests on GitHub API. API documentation should be self-explanatory.
17+
* Performs requests on Gitlab API. API documentation should be self-explanatory.
1818
*
1919
* @author Joseph Bielawski <[email protected]>
2020
*/

lib/Gitlab/HttpClient/HttpClientInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Gitlab\Exception\InvalidArgumentException;
66

77
/**
8-
* Performs requests on GitHub API. API documentation should be self-explanatory.
8+
* Performs requests on Gitlab API. API documentation should be self-explanatory.
99
*
1010
* @author Joseph Bielawski <[email protected]>
1111
*/

0 commit comments

Comments
 (0)