From 90a3d60b59758de66056df4ec5630e02aa28bf62 Mon Sep 17 00:00:00 2001 From: Antony Thorpe <1023740+AntonyThorpe@users.noreply.github.com> Date: Tue, 30 Jan 2024 19:02:05 +1300 Subject: [PATCH] Update DropdownField.php Update the enum example with a namespaces classname --- src/Forms/DropdownField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Forms/DropdownField.php b/src/Forms/DropdownField.php index 765b8a9df31..86a2abf25db 100644 --- a/src/Forms/DropdownField.php +++ b/src/Forms/DropdownField.php @@ -68,7 +68,7 @@ * DropdownField::create( * 'Country', * 'Country', - * singleton('MyObject')->dbObject('Country')->enumValues() + * singleton(MyObject::class)->dbObject('Country')->enumValues() * ); * *