original_string: private function resetAuthenticationKey(AuthenticationRecordInterface $auth): AuthenticationRecordInterface
      {
          $key = KeyFactory::generateEncryptionKey();
          $auth->setSessionKey($key->getRawKeyMaterial());
          $this->authenticationProvider->update($auth);
  
          return $auth;
      }
code: private function resetAuthenticationKey(AuthenticationRecordInterface $auth): AuthenticationRecordInterface
      {
          $key = KeyFactory::generateEncryptionKey();
          $auth->setSessionKey($key->getRawKeyMaterial());
          $this->authenticationProvider->update($auth);
  
          return $auth;
      }
code_tokens: private function resetAuthenticationKey ( AuthenticationRecordInterface $ auth ) : AuthenticationRecordInterface { $ key = KeyFactory :: generateEncryptionKey ( ) ; $ auth -> setSessionKey ( $ key -> getRawKeyMaterial ( ) ) ; $ this -> authenticationProvider -> update ( $ auth ) ; return $ auth ; }
docstring: Resalt a user's authentication table salt
  
  @param AuthenticationRecordInterface $auth
  
  @return AuthenticationRecordInterface
docstring_tokens: Resalt a user s authentication table salt