mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
DOCS Fix classname reference in SearchContext docs (#9771)
`static::class` is also used by `DataObject::getDefaultSearchContext()`.
This commit is contained in:
parent
f21515e0b1
commit
f673996aa0
@ -69,7 +69,7 @@ class MyDataObject extends DataObject
|
||||
];
|
||||
|
||||
return new SearchContext(
|
||||
$this->class,
|
||||
static::class,
|
||||
$fields,
|
||||
$filters
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user