Skip to content

Commit 13c8c88

Browse files
committed
Add documentation for repository archive
This PR adds a documentation for the usage of the Get repository Archive
1 parent 5720f82 commit 13c8c88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/repo/contents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ $fileInfo = $client->api('repo')->contents()->rm('knp-labs', 'php-github-api', $
4646
### Get repository archive
4747

4848
```php
49-
// @todo Document
49+
$archive = $client->api('repo')->contents()->archive('knp-labs', 'php-github-api', $format, $reference);
5050
```
5151

5252
### Download a file

0 commit comments

Comments
 (0)