MDL-85530 course: Improve PHPDoc types for course format code

This commit is contained in:
James C
2025-12-30 19:40:00 +13:00
parent 8316779bd9
commit 45761788de
32 changed files with 49 additions and 45 deletions
@@ -49,7 +49,7 @@ abstract class sectiondelegate {
* Get the section info instance if available.
*
* @param section_info $sectioninfo
* @return section_info|null
* @return sectiondelegate|null
*/
public static function instance(section_info $sectioninfo): ?self {
if (empty($sectioninfo->component)) {