src/Widgets/SubDcaWidget.php
protected function getHelpForWidget($widget)
    {
        if ($GLOBALS['TL_CONFIG']['showHelp'] && $widget->description) {
            return sprintf(
                '<p class="tl_help tl_tip%s">%s</p>',
                $widget->tl_class,
                $widget->description
            );
        }

        return '';
    }
protected function getHelpForWidget($widget)
    {
        if ($GLOBALS['TL_CONFIG']['showHelp'] && $widget->description) {
            return sprintf(
                '<p class="tl_help tl_tip%s">%s</p>',
                $widget->tl_class,
                $widget->description
            );
        }

        return '';
    }
Generate the help tag for a widget if needed.

@param Widget $widget The widget.

@return string

@SuppressWarnings(PHPMD.Superglobals)
@SuppressWarnings(PHPMD.CamelCaseVariableName)