lib/GitHub/Receiver/Users/Followers.php
public function listFollowers(string $username = null): array
    {
        $url = '/user/followers';
        if (null !== $username) {
            $url = $this->getApi()->sprintf('/users/:username/followers', $username);
        }

        return $this->getApi()->request($url);
    }
public function listFollowers(string $username = null): array
    {
        $url = '/user/followers';
        if (null !== $username) {
            $url = $this->getApi()->sprintf('/users/:username/followers', $username);
        }

        return $this->getApi()->request($url);
    }
public function listFollowers ( string $ username = null ) : array { $ url = '/user/followers' ; if ( null !== $ username ) { $ url = $ this -> getApi ( ) -> sprintf ( '/users/:username/followers' , $ username ) ; } return $ this -> getApi ( ) -> request ( $ url ) ; }
List followers of a user

@link https://developer.github.com/v3/users/followers/#list-followers-of-a-user

@param null|string $username

@return array
@throws \Exception
List followers of a user