original_string: public function update(Report &$report)
      {
          $data = $report->exportData();
          $endpoint = '/admin/reports/'.$report->id.'.json';
          $response = $this->request(
              $endpoint, 'PUT', array(
              'report' => $data
              )
          );
          $report->setData($response['report']);
      }
code: public function update(Report &$report)
      {
          $data = $report->exportData();
          $endpoint = '/admin/reports/'.$report->id.'.json';
          $response = $this->request(
              $endpoint, 'PUT', array(
              'report' => $data
              )
          );
          $report->setData($response['report']);
      }
code_tokens: public function update ( Report & $ report ) { $ data = $ report -> exportData ( ) ; $ endpoint = '/admin/reports/' . $ report -> id . '.json' ; $ response = $ this -> request ( $ endpoint , 'PUT' , array ( 'report' => $ data ) ) ; $ report -> setData ( $ response [ 'report' ] ) ; }
docstring: Modify an existing Report
  
  @link   https://help.shopify.com/api/reference/report#update
  @param  Report $report
  @return void
docstring_tokens: Modify an existing Report