DOCS Fix classname reference in SearchContext docs (#9771)

`static::class` is also used by `DataObject::getDefaultSearchContext()`.
This commit is contained in:
wernerkrauss 2020-11-15 22:34:15 +01:00 committed by GitHub
parent f21515e0b1
commit f673996aa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,7 +69,7 @@ class MyDataObject extends DataObject
]; ];
return new SearchContext( return new SearchContext(
$this->class, static::class,
$fields, $fields,
$filters $filters
); );