public function updateActivity($id, $name = null, $type = null, $private = false, $commute = false, $trainer = false, $gear_id = null, $description = null)
    {
        try {
            return $this->service->updateActivity($id, $name, $type, $private, $commute, $trainer, $gear_id, $description);
        } catch (ServiceException $e) {
            throw new ClientException('[SERVICE] ' . $e->getMessage());
        }
    }
public function updateActivity($id, $name = null, $type = null, $private = false, $commute = false, $trainer = false, $gear_id = null, $description = null)
    {
        try {
            return $this->service->updateActivity($id, $name, $type, $private, $commute, $trainer, $gear_id, $description);
        } catch (ServiceException $e) {
            throw new ClientException('[SERVICE] ' . $e->getMessage());
        }
    }
public function updateActivity ( $ id , $ name = null , $ type = null , $ private = false , $ commute = false , $ trainer = false , $ gear_id = null , $ description = null ) { try { return $ this -> service -> updateActivity ( $ id , $ name , $ type , $ private , $ commute , $ trainer , $ gear_id , $ description ) ; } catch ( ServiceException $ e ) { throw new ClientException ( '[SERVICE] ' . $ e -> getMessage ( ) ) ; } }
Update an activity

@link    https://strava.github.io/api/v3/activities/#put-updates
@param   int $id
@param   string $name
@param   string $type
@param   boolean $private
@param   boolean $commute
@param   boolean $trainer
@param   string $gear_id
@param   string $description
@return  array
@throws  Exception
Update an activity