mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #8042 from JorisDebonnet/patch-1
Fix phpdoc for DataList::relation method (namespace)
This commit is contained in:
commit
c5b0bd8a13
@ -1047,7 +1047,7 @@ class DataList extends ViewableData implements SS_List, Filterable, Sortable, Li
|
||||
*
|
||||
* Example: Get members from all Groups:
|
||||
*
|
||||
* DataList::Create("Group")->relation("Members")
|
||||
* DataList::Create(\SilverStripe\Security\Group::class)->relation("Members")
|
||||
*
|
||||
* @param string $relationName
|
||||
* @return HasManyList|ManyManyList
|
||||
|
Loading…
x
Reference in New Issue
Block a user