mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #2820 from nikrolls/patch-1
Fix autocompletion on ::create and ::strong_create
This commit is contained in:
commit
0366403b00
@ -127,7 +127,7 @@ abstract class Object {
|
||||
*
|
||||
* @param string $class the class name
|
||||
* @param mixed $arguments,... arguments to pass to the constructor
|
||||
* @return Object
|
||||
* @return static
|
||||
*/
|
||||
public static function create() {
|
||||
$args = func_get_args();
|
||||
@ -279,7 +279,7 @@ abstract class Object {
|
||||
*
|
||||
* @param string $class the class name
|
||||
* @param mixed $arguments,... arguments to pass to the constructor
|
||||
* @return Object
|
||||
* @return static
|
||||
*/
|
||||
public static function strong_create() {
|
||||
$args = func_get_args();
|
||||
|
Loading…
Reference in New Issue
Block a user