Skip to content

Commit 56ba87a

Browse files
authored
Merge pull request #57 from ggoffy/master
scrutinizer
2 parents 754f21a + 721e7b6 commit 56ba87a

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

class/Github/Api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public function post($urlPath, $content, array $parameters = [], array $headers
191191
* @see request()
192192
*
193193
* @param $urlPath
194-
* @param null $content
194+
* @param $content
195195
* @param array $parameters
196196
* @param array $headers
197197
* @return Http\Response

class/Github/Releases.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class Releases extends GitHub
3030
*
3131
* @param $user
3232
* @param $repository
33-
* @return array
33+
* @return bool|array
3434
*/
3535
public function getReleases($user, $repository)
3636
{
@@ -45,7 +45,7 @@ public function getReleases($user, $repository)
4545
* @param $user
4646
* @param $repository
4747
* @param bool $prerelease
48-
* @return array
48+
* @return bool|array
4949
*/
5050
public function getLatestRelease($user, $repository, $prerelease = false)
5151
{

class/Github/Repositories.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class Repositories extends GitHub
3030
* Get repositories of given user
3131
*
3232
* @param $username
33-
* @return array
33+
* @return bool|array
3434
*/
3535
public function getUserRepositories($username)
3636
{
@@ -43,7 +43,7 @@ public function getUserRepositories($username)
4343
* Get repositories of given organisation
4444
*
4545
* @param $org
46-
* @return array
46+
* @return bool|array
4747
*/
4848
public function getOrgRepositories($org)
4949
{
@@ -61,7 +61,7 @@ public function getOrgRepositories($org)
6161
* @param string $username the user who owns the repository
6262
* @param string $repository the name of the repository
6363
*
64-
* @return string|array the readme content
64+
* @return bool|array the readme content
6565
*/
6666
public function getReadme($username, $repository)
6767
{

0 commit comments

Comments
 (0)