public static function getFormWithErrors($formClassName)
    {
        GeneralUtility::logDeprecatedFunction();

        return (isset(self::$formWithErrors[$formClassName]))
            ? self::$formWithErrors[$formClassName]
            : null;
    }