mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
DOC Update old pre-namespaces PHPDoc
The code in the original PHPDoc would have produced an error if used.
This commit is contained in:
parent
7d19ded76e
commit
95be6ed077
@ -17,7 +17,7 @@ trait Injectable
|
||||
* This can be called in one of two ways - either calling via the class directly,
|
||||
* or calling on Object and passing the class name as the first parameter. The following
|
||||
* are equivalent:
|
||||
* $list = DataList::create('SiteTree');
|
||||
* $list = DataList::create(SiteTree::class);
|
||||
* $list = SiteTree::get();
|
||||
*
|
||||
* @param array $args
|
||||
|
Loading…
Reference in New Issue
Block a user