File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,6 @@ For example:
8
8
$client = new Github\Client();
9
9
echo $client->getApiVersion(); // prints "v3"
10
10
11
- $client = new Github\Client($httpClient , 'v2');
11
+ $client = new Github\Client(new Github\HttpClient\Builder() , 'v2');
12
12
echo $client->getApiVersion(); // prints "v2"
13
13
```
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ The following sample code authenticates as an installation using [lcobucci/jwt](
54
54
to generate a JSON Web Token (JWT).
55
55
56
56
``` php
57
- $github = new Github\Client(new GuzzleClient (), 'machine-man-preview');
57
+ $github = new Github\Client(new Github\HttpClient\Builder (), 'machine-man-preview');
58
58
59
59
$jwt = (new Builder)
60
60
->setIssuer($integrationId)
You can’t perform that action at this time.
0 commit comments