MDL-87296 customfield: Improve return type doc for handler::create()
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user