namespace wcf\form;
use Laminas\Diactoros\Response\RedirectResponse;
+use Psr\Http\Message\ResponseInterface;
use wcf\system\application\ApplicationHandler;
use wcf\system\exception\IllegalLinkException;
use wcf\system\exception\PermissionDeniedException;
}
/**
- * Returns a RedirectResponse for the redirectUrl.
+ * Returns a response redirecting to the redirectUrl.
*
* @see ReauthenticationForm::$redirectUrl
*/
- protected function getRedirectResponse(): RedirectResponse
+ protected function getRedirectResponse(): ResponseInterface
{
return new RedirectResponse($this->redirectUrl);
}