Fix phpdoc for relation method (namespace)

This commit is contained in:
JorisDebonnet 2018-04-30 02:10:33 +02:00 committed by GitHub
parent d4bc386b34
commit 1d3e83838d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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