Skip to content

Commit efc2099

Browse files
committed
[skip ci] Fixed rest client instantiation in documentation
1 parent c95343f commit efc2099

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,11 @@ YOUTRACK_PASSWORD=secret
117117
### Initialize API client
118118

119119
```php
120-
$youtrack = app(\Cog\YouTrack\Rest\YouTrackClient::class);
120+
$youtrack = app(\Cog\Contracts\YouTrack\Rest\Client\Client::class);
121121
```
122122

123+
As result instantiated `\Cog\YouTrack\Rest\Client\YouTrackClient` class should be returned.
124+
123125
### API requests
124126

125127
#### HTTP request

0 commit comments

Comments
 (0)