src/Actions/ManagesSites.php
public function updateSite($serverId, $siteId, array $data)
    {
        return new Site(
            $this->put("servers/$serverId/sites/$siteId", $data)['site']
            + ['server_id' => $serverId], $this
        );
    }
public function updateSite($serverId, $siteId, array $data)
    {
        return new Site(
            $this->put("servers/$serverId/sites/$siteId", $data)['site']
            + ['server_id' => $serverId], $this
        );
    }
public function updateSite ( $ serverId , $ siteId , array $ data ) { return new Site ( $ this -> put ( "servers/$serverId/sites/$siteId" , $ data ) [ 'site' ] + [ 'server_id' => $ serverId ] , $ this ) ; }
Update the given site.

@param  integer $serverId
@param  integer $siteId
@param  array $data
@return Site
Update the given site .