Skip to content

Commit fa4d1d9

Browse files
committed
Updated docs
1 parent 461f27b commit fa4d1d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/api_version.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ For example:
88
$client = new Github\Client();
99
echo $client->getApiVersion(); // prints "v3"
1010

11-
$client = new Github\Client($httpClient, 'v2');
11+
$client = new Github\Client(new Github\HttpClient\Builder(), 'v2');
1212
echo $client->getApiVersion(); // prints "v2"
1313
```

doc/security.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The following sample code authenticates as an installation using [lcobucci/jwt](
5454
to generate a JSON Web Token (JWT).
5555

5656
```php
57-
$github = new Github\Client(new GuzzleClient(), 'machine-man-preview');
57+
$github = new Github\Client(new Github\HttpClient\Builder(), 'machine-man-preview');
5858

5959
$jwt = (new Builder)
6060
->setIssuer($integrationId)

0 commit comments

Comments
 (0)