MDL-77164 various: fix incorrect phpdocs

This commit is contained in:
Marina Glancy
2023-04-13 11:35:06 +01:00
parent 4d765cd699
commit 8fc1486d36
327 changed files with 644 additions and 533 deletions
+3 -3
View File
@@ -721,7 +721,7 @@ class competency extends persistent {
* Build a framework tree with competency nodes.
*
* @param int $frameworkid the framework id
* @return node[] tree of framework competency nodes
* @return stdClass[] tree of framework competency nodes
*/
public static function get_framework_tree($frameworkid) {
$competencies = self::search('', $frameworkid);
@@ -731,7 +731,7 @@ class competency extends persistent {
/**
* Get the context from the framework.
*
* @return context
* @return \context
*/
public function get_context() {
return $this->get_framework()->get_context();
@@ -742,7 +742,7 @@ class competency extends persistent {
*
* @param array $all - List of all competency classes.
* @param int $parentid - The current parent ID. Pass 0 to build the tree from the top.
* @return node[] $tree tree of nodes
* @return stdClass[] $tree tree of nodes
*/
protected static function build_tree($all, $parentid) {
$tree = array();