Merge pull request #2820 from nikrolls/patch-1

Fix autocompletion on ::create and ::strong_create
This commit is contained in:
Andrew Short 2014-02-07 10:24:36 +11:00
commit 0366403b00

View File

@ -127,7 +127,7 @@ abstract class Object {
* *
* @param string $class the class name * @param string $class the class name
* @param mixed $arguments,... arguments to pass to the constructor * @param mixed $arguments,... arguments to pass to the constructor
* @return Object * @return static
*/ */
public static function create() { public static function create() {
$args = func_get_args(); $args = func_get_args();
@ -279,7 +279,7 @@ abstract class Object {
* *
* @param string $class the class name * @param string $class the class name
* @param mixed $arguments,... arguments to pass to the constructor * @param mixed $arguments,... arguments to pass to the constructor
* @return Object * @return static
*/ */
public static function strong_create() { public static function strong_create() {
$args = func_get_args(); $args = func_get_args();