Skip to content

Commit fe74a4e

Browse files
committed
Merge pull request #356 from dorelljames/docs
Doc update: getting all hooks should use all() method instead
2 parents 4176d3e + 15b41f4 commit fe74a4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/repos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ $client->api('repo')->hooks()->remove('username', 'reponame', $id);
157157
> Requires [authentication](security.md).
158158
159159
```php
160-
$client->api('repo')->hooks()->show('username', 'reponame');
160+
$client->api('repo')->hooks()->all('username', 'reponame');
161161
```
162162

163163
### Get the collaborators for a repository

0 commit comments

Comments
 (0)