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