Merge pull request #11117 from AntonyThorpe/patch-1
Update DropdownField.php
This commit is contained in:
commit
5ab9ded9e9
|
@ -68,7 +68,7 @@ use SilverStripe\View\ArrayData;
|
|||
* DropdownField::create(
|
||||
* 'Country',
|
||||
* 'Country',
|
||||
* singleton('MyObject')->dbObject('Country')->enumValues()
|
||||
* singleton(MyObject::class)->dbObject('Country')->enumValues()
|
||||
* );
|
||||
* </code>
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue