lib/GitHub/Receiver/Gists.php
public function forkGist(string $id): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/gists/:id/forks', $id), Request::METHOD_POST);
    }
public function forkGist(string $id): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/gists/:id/forks', $id), Request::METHOD_POST);
    }
public function forkGist ( string $ id ) : array { return $ this -> getApi ( ) -> request ( $ this -> getApi ( ) -> sprintf ( '/gists/:id/forks' , $ id ) , Request :: METHOD_POST ) ; }
Fork a gist

@link https://developer.github.com/v3/gists/#fork-a-gist

@param string $id

@return array
Fork a gist