Skip to content

Commit 2bc50c4

Browse files
authored
Merge pull request #672 from acrobat/fix-create-issue-example
Change create issue example to avoid test issues in the repository
2 parents 5de2d62 + 2e1da6d commit 2bc50c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: doc/issues.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ Returns an array of information about the issue.
3838
> Requires [authentication](security.md).
3939
4040
```php
41-
$client->api('issue')->create('KnpLabs', 'php-github-api', array('title' => 'The issue title', 'body' => 'The issue body'));
41+
$client->api('issue')->create('KnpLabs', 'php-github-api-example', array('title' => 'The issue title', 'body' => 'The issue body'));
4242
```
4343

44-
Creates a new issue in the repo "php-github-api" of the user "KnpLabs". The issue is assigned to the authenticated user.
44+
Creates a new issue in the repo "php-github-api-example" (the repository in this example does not exist) of the user "KnpLabs". The issue is assigned to the authenticated user.
4545
Returns an array of information about the issue.
4646

4747
### Close an issue

0 commit comments

Comments
 (0)