From 562a3f932ce2aba004a994954e7d6fd5c4b96597 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Thu, 12 Sep 2024 12:28:33 +1200 Subject: [PATCH] API Use new names for renamed classes --- src/FormFields/SessionManagerField.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FormFields/SessionManagerField.php b/src/FormFields/SessionManagerField.php index f45eb60..eaaaa9f 100644 --- a/src/FormFields/SessionManagerField.php +++ b/src/FormFields/SessionManagerField.php @@ -8,7 +8,7 @@ use SilverStripe\Security\Member; use SilverStripe\SessionManager\Controllers\LoginSessionController; use SilverStripe\SessionManager\Models\LoginSession; -use SilverStripe\View\ViewableData; +use SilverStripe\Model\ModelData; class SessionManagerField extends FormField { @@ -26,7 +26,7 @@ class SessionManagerField extends FormField * {@inheritDoc} * * @param string $name Field name - * @param null|string|ViewableData $title Field title + * @param null|string|ModelData $title Field title * @param mixed $value Member ID to apply this field to * @param string $titleLinkText Title link text * @param string $titleLinkHref Title link href