diff --git a/doc/gists.md b/doc/gists.md index 696fda9d1a6..9cbfb0a1624 100644 --- a/doc/gists.md +++ b/doc/gists.md @@ -60,7 +60,7 @@ $data = array( 'description' => 'This is new description' ); -$gist = $github->api('gists')->update($data); +$gist = $github->api('gists')->update(1234, $data); ``` You can update ``content`` of a previous file's version.