From 131fc74e10a433a1b57fa8bb39d66001fd5b4442 Mon Sep 17 00:00:00 2001 From: Michael Aherne Date: Tue, 25 Nov 2025 10:44:29 +0000 Subject: [PATCH] MDL-87296 customfield: Improve return type doc for handler::create() --- public/customfield/classes/handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/customfield/classes/handler.php b/public/customfield/classes/handler.php index 532a07b7f12..a6cdf9088c1 100644 --- a/public/customfield/classes/handler.php +++ b/public/customfield/classes/handler.php @@ -98,7 +98,7 @@ abstract class handler { * Some areas may choose to use singleton/caching here * * @param int $itemid - * @return handler + * @return static */ public static function create(int $itemid = 0): handler { return new static($itemid);