lib/GitHub/Receiver/Repositories.php
public function listYourRepositories(string $type = AbstractApi::TYPE_ALL,
                                         string $sort = AbstractApi::SORT_FULL_NAME,
                                         string $direction = AbstractApi::DIRECTION_DESC): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/user/repos?:args',
            http_build_query(['type' => $type, 'sort' => $sort, 'direction' => $direction])));
    }
public function listYourRepositories(string $type = AbstractApi::TYPE_ALL,
                                         string $sort = AbstractApi::SORT_FULL_NAME,
                                         string $direction = AbstractApi::DIRECTION_DESC): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/user/repos?:args',
            http_build_query(['type' => $type, 'sort' => $sort, 'direction' => $direction])));
    }
public function listYourRepositories ( string $ type = AbstractApi :: TYPE_ALL , string $ sort = AbstractApi :: SORT_FULL_NAME , string $ direction = AbstractApi :: DIRECTION_DESC ) : array { return $ this -> getApi ( ) -> request ( $ this -> getApi ( ) -> sprintf ( '/user/repos?:args' , http_build_query ( [ 'type' => $ type , 'sort' => $ sort , 'direction' => $ direction ] ) ) ) ; }
List repositories for the authenticated user.

@link https://developer.github.com/v3/repos/#list-your-repositories

@param string $type
@param string $sort
@param string $direction

@return array
List repositories for the authenticated user .