Skip to content

Commit 525f7f3

Browse files
committed
Merge pull request #119 from jtallant/patch-1
Use remove method for repo delete in docs
2 parents bad4c44 + ec7da6e commit 525f7f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/repos.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Updates and returns the repository named 'my-new-repo' that is owned by 'usernam
7676
> Requires [authentication](security.md).
7777
7878
```php
79-
$client->api('repo')->delete('username', 'my-new-repo'); // Get the deletion token
79+
$client->api('repo')->remove('username', 'my-new-repo'); // Get the deletion token
8080
```
8181

8282
Deletes the my-new-repo repository.
@@ -237,4 +237,4 @@ $contributors = $client->api('repo')->contributors('ornicar', 'php-github-api',
237237
$activity = $client->api('repo')->activity('ornicar', 'php-github-api');
238238
```
239239

240-
Returns an array of commit activity group by week.
240+
Returns an array of commit activity group by week.

0 commit comments

Comments
 (0)