mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fix autocompletion on ::create and ::strong_create
This ties in with IDEs that can autocomplete the LSB class when you @return static.
This commit is contained in:
parent
bb9f84afd5
commit
d1c68e6020
@ -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