Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.1.3
-
Fix Version/s: 3.1.4
-
Component/s: Documentation
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_31_STABLE
-
Fixed Branches:MOODLE_31_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-56916-master-normalizedoc -
Pull Master Diff URL:
Description
The docblock declares the return value of core_component::normalize_component() as
@return array as (string)$type => (string)$plugin
|
which is not correct as it suggest the plugin type is the key of the returned single item array. Instead, a list of two items numerically indexed is returned.