lib/GitHub/Receiver/Repositories/Releases.php
public function editReleaseAsset(string $id, string $name, string $label = ''): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/repos/:owner/:repo/releases/assets/:id',
            $this->getRepositories()->getOwner(), $this->getRepositories()->getRepo(), $id), Request::METHOD_PATCH, [
                'name'  => $name,
                'label' => $label
            ]);
    }
public function editReleaseAsset(string $id, string $name, string $label = ''): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/repos/:owner/:repo/releases/assets/:id',
            $this->getRepositories()->getOwner(), $this->getRepositories()->getRepo(), $id), Request::METHOD_PATCH, [
                'name'  => $name,
                'label' => $label
            ]);
    }
public function editReleaseAsset ( string $ id , string $ name , string $ label = '' ) : array { return $ this -> getApi ( ) -> request ( $ this -> getApi ( ) -> sprintf ( '/repos/:owner/:repo/releases/assets/:id' , $ this -> getRepositories ( ) -> getOwner ( ) , $ this -> getRepositories ( ) -> getRepo ( ) , $ id ) , Request :: METHOD_PATCH , [ 'name' => $ name , 'label' => $ label ] ) ; }
Edit a release asset

@link https://developer.github.com/v3/repos/releases/#edit-a-release-asset

@param string $id
@param string $name
@param string $label

@return array
Edit a release asset