Skip to content

Commit 6b87856

Browse files
Fixed typos
1 parent 22ab480 commit 6b87856

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ There are three ways to authenticate our client:
5353
The most common way to authenticate is using an OAuth 2 token. You will need to generate this by some means outside of the library, and then provide it as below:
5454

5555
```php
56-
$c = new Bitbucket\Client();
56+
$client = new Bitbucket\Client();
5757

58-
$c->authenticate(
58+
$client->authenticate(
5959
Bitbucket\Client::AUTH_OAUTH_TOKEN,
6060
'your-token-here'
6161
);
@@ -66,9 +66,9 @@ $c->authenticate(
6666
It is possible to login using a username and password combination. This method is not recommended for production use, however you find it useful never the less:
6767

6868
```php
69-
$c = new Bitbucket\Client();
69+
$client = new Bitbucket\Client();
7070

71-
$c->authenticate(
71+
$client->authenticate(
7272
Bitbucket\Client::AUTH_HTTP_PASSWORD,
7373
'your-username-here',
7474
'your-password-here'
@@ -81,10 +81,10 @@ Finally, we support logging in using JSON web tokens (JWTs). This method is excl
8181

8282

8383
```php
84-
$c = new Bitbucket\Client();
84+
$client = new Bitbucket\Client();
8585

86-
$c->authenticate(
87-
Bitbucket\Client::AUTH_jwt,
86+
$client->authenticate(
87+
Bitbucket\Client::AUTH_JWT,
8888
'your-jwt-here'
8989
);
9090
```

0 commit comments

Comments
 (0)