mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #10352 from oddnoc/phan-help
Correct declaration of variadic $args as array
This commit is contained in:
commit
be19fa7f3d
@ -20,7 +20,7 @@ trait Injectable
|
||||
* $list = DataList::create(SiteTree::class);
|
||||
* $list = SiteTree::get();
|
||||
*
|
||||
* @param array $args
|
||||
* @param mixed $args
|
||||
* @return static
|
||||
*/
|
||||
public static function create(...$args)
|
||||
|
Loading…
Reference in New Issue
Block a user