From 2e1da6dc62194218344f32aa68e0ef6c6ee39344 Mon Sep 17 00:00:00 2001 From: Jeroen Thora Date: Sat, 13 Jan 2018 11:24:41 +0100 Subject: [PATCH] Change create issue example to avoid test issues in the repository --- doc/issues.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/issues.md b/doc/issues.md index 3f26bab5ad6..317f4babebe 100644 --- a/doc/issues.md +++ b/doc/issues.md @@ -38,10 +38,10 @@ Returns an array of information about the issue. > Requires [authentication](security.md). ```php -$client->api('issue')->create('KnpLabs', 'php-github-api', array('title' => 'The issue title', 'body' => 'The issue body')); +$client->api('issue')->create('KnpLabs', 'php-github-api-example', array('title' => 'The issue title', 'body' => 'The issue body')); ``` -Creates a new issue in the repo "php-github-api" of the user "KnpLabs". The issue is assigned to the authenticated user. +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. Returns an array of information about the issue. ### Close an issue