Merge pull request #11117 from AntonyThorpe/patch-1

Update DropdownField.php
This commit is contained in:
Loz Calver 2024-03-07 12:28:36 +00:00 committed by GitHub
commit 5ab9ded9e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,7 +68,7 @@ use SilverStripe\View\ArrayData;
* DropdownField::create( * DropdownField::create(
* 'Country', * 'Country',
* 'Country', * 'Country',
* singleton('MyObject')->dbObject('Country')->enumValues() * singleton(MyObject::class)->dbObject('Country')->enumValues()
* ); * );
* </code> * </code>
* *