DOC Update old pre-namespaces PHPDoc

The code in the original PHPDoc would have produced an error if used.
This commit is contained in:
GuySartorelli 2022-02-08 13:03:45 +13:00 committed by GitHub
parent 7d19ded76e
commit 95be6ed077
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ trait Injectable
* This can be called in one of two ways - either calling via the class directly, * 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 * or calling on Object and passing the class name as the first parameter. The following
* are equivalent: * are equivalent:
* $list = DataList::create('SiteTree'); * $list = DataList::create(SiteTree::class);
* $list = SiteTree::get(); * $list = SiteTree::get();
* *
* @param array $args * @param array $args