public function approve($account, $repo, $id)
    {
        return $this->getClient()->setApiVersion('2.0')->post(
            sprintf('repositories/%s/%s/pullrequests/%d/approve', $account, $repo, $id)
        );
    }
public function approve($account, $repo, $id)
    {
        return $this->getClient()->setApiVersion('2.0')->post(
            sprintf('repositories/%s/%s/pullrequests/%d/approve', $account, $repo, $id)
        );
    }
public function approve ( $ account , $ repo , $ id ) { return $ this -> getClient ( ) -> setApiVersion ( '2.0' ) -> post ( sprintf ( 'repositories/%s/%s/pullrequests/%d/approve' , $ account , $ repo , $ id ) ) ; }
Approve a pull request

@access public
@param  string           $account The team or individual account owning the repository.
@param  string           $repo    The repository identifier.
@param  int              $id      ID of the pull request
@return MessageInterface
Approve a pull request