Skip to content

Commit e7c393f

Browse files
committed
Style fix
1 parent ff458a2 commit e7c393f

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

lib/Github/Api/Repository/Contents.php

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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
}

test/Github/Tests/Api/Repository/ContentsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,6 @@ public function shouldRawDownloadForGivenPath()
336336
$this->assertEquals($getValue, $api->rawDownload('KnpLabs', 'php-github-api', 'test/Github/Tests/Api/Repository/ContentsTest.php'));
337337
}
338338

339-
340339
/**
341340
* @return string
342341
*/

0 commit comments

Comments
 (0)