lib/GitHub/Receiver/Users/PublicKeys.php
public function listUserPublicKeys(string $username): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/users/:username/keys', $username));
    }
public function listUserPublicKeys(string $username): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/users/:username/keys', $username));
    }
public function listUserPublicKeys ( string $ username ) : array { return $ this -> getApi ( ) -> request ( $ this -> getApi ( ) -> sprintf ( '/users/:username/keys' , $ username ) ) ; }
List public keys for a user

@link https://developer.github.com/v3/users/keys/#list-public-keys-for-a-user

@param string $username

@return array
@throws \Exception
List public keys for a user