From d1c68e6020794fb63d4eb540dc5ad2de6cd70d92 Mon Sep 17 00:00:00 2001 From: Nik Rolls Date: Tue, 4 Feb 2014 15:36:24 +1300 Subject: [PATCH] Fix autocompletion on ::create and ::strong_create This ties in with IDEs that can autocomplete the LSB class when you @return static. --- core/Object.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/Object.php b/core/Object.php index 13785a88e..821a17d8a 100755 --- a/core/Object.php +++ b/core/Object.php @@ -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();