Skip to content

Commit b02176f

Browse files
committed
Rename showContents() to download()
1 parent fefe329 commit b02176f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Github/Api/Repository/Contents.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function archive($username, $repository, $format, $reference = null)
8383
*
8484
* @return string content of file
8585
*/
86-
public function showContents($username, $repository, $path, $reference = null)
86+
public function download($username, $repository, $path, $reference = null)
8787
{
8888
$file = $this->show($username, $repository, $path, $reference);
8989

0 commit comments

Comments
 (0)