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
1 changed files with 1 additions and 1 deletions

View File

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