original_string: public function refresh()
      {
          $response = $this->api->get($this->url());
          $this->data = (array) $response->data;
  
          return $this;
      }
code: public function refresh()
      {
          $response = $this->api->get($this->url());
          $this->data = (array) $response->data;
  
          return $this;
      }
code_tokens: public function refresh ( ) { $ response = $ this -> api -> get ( $ this -> url ( ) ) ; $ this -> data = ( array ) $ response -> data ; return $ this ; }
docstring: Makes a GET request and refreshes the local data with up-to-date info.
  
  @return $this
docstring_tokens: Makes a GET request and refreshes the local data with up - to - date info .