original_string: public function confirmEmail(string $token, string $email)
      {
          Auth::user()->confirmPetition($token, $email);
  
          Auth::logout();
  
          return redirect()->route('user.index');
      }
code: public function confirmEmail(string $token, string $email)
      {
          Auth::user()->confirmPetition($token, $email);
  
          Auth::logout();
  
          return redirect()->route('user.index');
      }
code_tokens: public function confirmEmail ( string $ token , string $ email ) { Auth :: user ( ) -> confirmPetition ( $ token , $ email ) ; Auth :: logout ( ) ; return redirect ( ) -> route ( 'user.index' ) ; }
docstring: Confirms the users's new email address.
  
  @param  string $token
  @param  string $email
  
  @return void
docstring_tokens: Confirms the users s new email address .