original_string: public function confirmed()
      {
          $this->confirmed = true;
          $this->confirmed_at = Carbon::now();
          $this->save();
      }
code: public function confirmed()
      {
          $this->confirmed = true;
          $this->confirmed_at = Carbon::now();
          $this->save();
      }
code_tokens: public function confirmed ( ) { $ this -> confirmed = true ; $ this -> confirmed_at = Carbon :: now ( ) ; $ this -> save ( ) ; }
docstring: Confirm a given petition.
  
  @return void
docstring_tokens: Confirm a given petition .