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:
Nik Rolls 2014-02-04 15:36:24 +13:00
parent bb9f84afd5
commit d1c68e6020

View File

@ -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();