@@ -61,11 +61,11 @@ public function readme($username, $repository, $reference = null)
6161 *
6262 * @link http://developer.github.com/v3/repos/contents/
6363 *
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
6969 *
7070 * @return array|string information for file | information for each item in directory
7171 */
@@ -297,7 +297,7 @@ public function download($username, $repository, $path, $reference = null)
297297 }
298298
299299 /**
300- * Get the raw content of a file in a repository
300+ * Get the raw content of a file in a repository.
301301 *
302302 * Use this method instead of the download method if your file is bigger than 1MB
303303 *
@@ -310,9 +310,10 @@ public function download($username, $repository, $path, $reference = null)
310310 *
311311 * @return array|string
312312 */
313- public function rawDownload ($ username , $ repository , $ path , $ reference = null ) {
313+ public function rawDownload ($ username , $ repository , $ path , $ reference = null )
314+ {
314315 return $ this ->show ($ username , $ repository , $ path , $ reference , [
315- 'Accept ' => 'application/vnd.github.VERSION.raw '
316+ 'Accept ' => 'application/vnd.github.VERSION.raw ' ,
316317 ]);
317318 }
318319}
0 commit comments