original_string: public static function confirm(string $token, string $email)
      {
          $user = static::where('confirmation_token', $token)
              ->where('verified', false)
              ->where('email', $email)
              ->firstOrFail();
  
          $user->verified = true;
          $user->save();
  
          return $user;
      }
code: public static function confirm(string $token, string $email)
      {
          $user = static::where('confirmation_token', $token)
              ->where('verified', false)
              ->where('email', $email)
              ->firstOrFail();
  
          $user->verified = true;
          $user->save();
  
          return $user;
      }
code_tokens: public static function confirm ( string $ token , string $ email ) { $ user = static :: where ( 'confirmation_token' , $ token ) -> where ( 'verified' , false ) -> where ( 'email' , $ email ) -> firstOrFail ( ) ; $ user -> verified = true ; $ user -> save ( ) ; return $ user ; }
docstring: Confirms the user related to the given token & email.
  
  @param string $token
  @param string $email
  
  @return self
docstring_tokens: Confirms the user related to the given token & email .