@@ -61,11 +61,11 @@ public function readme($username, $repository, $reference = null)
61
61
*
62
62
* @link http://developer.github.com/v3/repos/contents/
63
63
*
64
- * @param string $username the user who owns the repository
65
- * @param string $repository the name of the repository
66
- * @param string|null $path path to file or directory
67
- * @param string|null $reference reference to a branch or commit
68
- * @param array $requestHeaders request headers
64
+ * @param string $username the user who owns the repository
65
+ * @param string $repository the name of the repository
66
+ * @param string|null $path path to file or directory
67
+ * @param string|null $reference reference to a branch or commit
68
+ * @param array $requestHeaders request headers
69
69
*
70
70
* @return array|string information for file | information for each item in directory
71
71
*/
@@ -297,7 +297,7 @@ public function download($username, $repository, $path, $reference = null)
297
297
}
298
298
299
299
/**
300
- * Get the raw content of a file in a repository
300
+ * Get the raw content of a file in a repository.
301
301
*
302
302
* Use this method instead of the download method if your file is bigger than 1MB
303
303
*
@@ -310,9 +310,10 @@ public function download($username, $repository, $path, $reference = null)
310
310
*
311
311
* @return array|string
312
312
*/
313
- public function rawDownload ($ username , $ repository , $ path , $ reference = null ) {
313
+ public function rawDownload ($ username , $ repository , $ path , $ reference = null )
314
+ {
314
315
return $ this ->show ($ username , $ repository , $ path , $ reference , [
315
- 'Accept ' => 'application/vnd.github.VERSION.raw '
316
+ 'Accept ' => 'application/vnd.github.VERSION.raw ' ,
316
317
]);
317
318
}
318
319
}
0 commit comments