diff --git a/src/Forms/FormField.php b/src/Forms/FormField.php index 13eafc887..65482320b 100644 --- a/src/Forms/FormField.php +++ b/src/Forms/FormField.php @@ -331,7 +331,7 @@ class FormField extends RequestHandler * Creates a new field. * * @param string $name The internal field name, passed to forms. - * @param null|string $title The human-readable field label. + * @param null|string|SilverStripe\View\ViewableData $title The human-readable field label. * @param mixed $value The value of the field. */ public function __construct($name, $title = null, $value = null)