original_string: public function refresh()
      {
          $this->expires_at = Carbon::now()->addMonth();
          $this->token = str_random(60);
          $this->save();
      }
code: public function refresh()
      {
          $this->expires_at = Carbon::now()->addMonth();
          $this->token = str_random(60);
          $this->save();
      }
code_tokens: public function refresh ( ) { $ this -> expires_at = Carbon :: now ( ) -> addMonth ( ) ; $ this -> token = str_random ( 60 ) ; $ this -> save ( ) ; }
docstring: Refresh a given petition.
  
  @return void
docstring_tokens: Refresh a given petition .